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
2020-05-17 18:21:59 -0300
Browse Files
Options
Browse Files
Download
Plain Diff
Committed by
GitHub
2020-05-17 18:21:59 -0300
Commit
97f5e91dc723a8863cadad87f680444d848a53d9
97f5e91d
2 parents
3ef559e7
d6d459e2
Merge pull request #114 from gumbarros/patch-1
Update README.md
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
README.md
README.md
View file @
97f5e91
...
...
@@ -88,13 +88,13 @@ var data = await Get.to(Payment());
on other screen, send a data for previous route:
```
dart
Get
.
back
(
result:
'sucess'
);
Get
.
back
(
result:
'suc
c
ess'
);
```
And use it:
ex:
```
dart
if
(
data
==
'sucess'
)
madeAnything
();
if
(
data
==
'suc
c
ess'
)
madeAnything
();
```
Don't you want to learn our syntax?
...
...
@@ -465,7 +465,7 @@ The state only changes if the values change. That's the main difference be
```
dart
final
count1
=
0
.
obs
;
final
count2
=
0
.
obs
;
int
get
s
oma
=>
count1
.
value
+
count2
.
value
;
int
get
s
um
=>
count1
.
value
+
count2
.
value
;
```
```
dart
...
...
@@ -484,7 +484,7 @@ int get soma => count1.value + count2.value;
GetX
<
Controller
>(
builder:
(
_
)
{
print
(
"count 3 rebuild"
);
return
Text
(
'
${_.s
oma
}
'
);
return
Text
(
'
${_.s
um
}
'
);
},
),
```
...
...
Please
register
or
login
to post a comment