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-04-28 04:46:52 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2020-04-28 04:46:52 -0300
Commit
b7291fffdf64d305d792bd078d416a756a0fcc27
b7291fff
1 parent
dcc512d8
Update README.md
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
README.md
README.md
View file @
b7291ff
...
...
@@ -24,14 +24,14 @@ This library that will change the way you work with the Framework and save your
## How to use?
-
Flutter Master/Dev/Beta: version 2.0.2-dev
-
Flutter Stable branch: version 2.0.1
-
Flutter Master/Dev/Beta: version 2.0.7-dev
-
Flutter Stable branch: version 2.0.3
Add this to your package's pubspec.yaml file:
```
dependencies:
get: ^2.0.
1
// ^2.0.1-dev on beta/dev/master
get: ^2.0.
3
// ^2.0.1-dev on beta/dev/master
```
Exchange your MaterialApp for GetMaterialApp and enjoy!
```
dart
...
...
@@ -246,7 +246,7 @@ class Controller extends GetController {
int
counter
=
0
;
void
increment
()
{
counter
++;
update
(
this
);
// use update(this) to update counter variable
um
UI when increment be called
update
(
this
);
// use update(this) to update counter variable
on
UI when increment be called
}
}
// On your Stateless/Stateful class, use GetBuilder to update Text when increment be called
...
...
Please
register
or
login
to post a comment