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
2021-04-02 22:22:51 -0300
Browse Files
Options
Browse Files
Download
Plain Diff
Committed by
GitHub
2021-04-02 22:22:51 -0300
Commit
2b4ba056cb1013beedfccfb23522d1889455e49e
2b4ba056
2 parents
8097ab40
5f06e1f8
Merge pull request #1249 from RafaRuiz/fix/initial_nullables
Initial nullables
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
lib/get_rx/src/rx_types/rx_core/rx_impl.dart
lib/get_rx/src/rx_types/rx_core/rx_num.dart
lib/get_rx/src/rx_types/rx_core/rx_impl.dart
View file @
2b4ba05
...
...
@@ -247,7 +247,7 @@ class RxBool extends Rx<bool> {
}
class
RxnBool
extends
Rx
<
bool
?>
{
RxnBool
(
bool
initial
)
:
super
(
initial
);
RxnBool
(
bool
?
initial
)
:
super
(
initial
);
@override
String
toString
()
{
return
"
$value
"
;
...
...
lib/get_rx/src/rx_types/rx_core/rx_num.dart
View file @
2b4ba05
...
...
@@ -578,7 +578,7 @@ class RxNum extends Rx<num> {
}
class
RxnNum
extends
Rx
<
num
?>
{
RxnNum
(
num
initial
)
:
super
(
initial
);
RxnNum
(
num
?
initial
)
:
super
(
initial
);
num
?
operator
+(
num
other
)
{
if
(
value
!=
null
)
{
...
...
Please
register
or
login
to post a comment