Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jonny Borges
2022-01-03 12:06:34 -0300
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
a59dd56bb116ab366084dbb57da9146a7d16766a
a59dd56b
2 parents
ced7eea7
3d435c81
Merge branch 'master' of
https://github.com/jonataslaw/getx
into sm-refactor
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
lib/get_navigation/src/extension_navigation.dart
lib/get_rx/src/rx_types/rx_iterables/rx_set.dart
lib/get_navigation/src/extension_navigation.dart
View file @
a59dd56
...
...
@@ -192,7 +192,7 @@ extension ExtensionDialog on GetInterface {
color:
buttonColor
??
theme
.
colorScheme
.
secondary
,
width:
2
,
style:
BorderStyle
.
solid
),
borderRadius:
BorderRadius
.
circular
(
100
)),
borderRadius:
BorderRadius
.
circular
(
radius
)),
),
onPressed:
()
{
onCancel
?.
call
();
...
...
@@ -215,7 +215,7 @@ extension ExtensionDialog on GetInterface {
tapTargetSize:
MaterialTapTargetSize
.
shrinkWrap
,
backgroundColor:
buttonColor
??
theme
.
colorScheme
.
secondary
,
shape:
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
100
)),
borderRadius:
BorderRadius
.
circular
(
radius
)),
),
child:
Text
(
textConfirm
??
"Ok"
,
...
...
lib/get_rx/src/rx_types/rx_iterables/rx_set.dart
View file @
a59dd56
...
...
@@ -34,10 +34,12 @@ class RxSet<E> extends GetListenable<Set<E>>
}
@override
bool
add
(
E
newValue
)
{
final
val
=
value
.
add
(
newValue
);
bool
add
(
E
value
)
{
final
hasAdded
=
value
.
add
(
value
);
if
(
hasAdded
)
{
refresh
();
return
val
;
}
return
hasAdded
;
}
@override
...
...
Please
register
or
login
to post a comment