Showing
1 changed file
with
4 additions
and
4 deletions
| @@ -24,14 +24,14 @@ This library that will change the way you work with the Framework and save your | @@ -24,14 +24,14 @@ This library that will change the way you work with the Framework and save your | ||
| 24 | 24 | ||
| 25 | ## How to use? | 25 | ## How to use? |
| 26 | 26 | ||
| 27 | -- Flutter Master/Dev/Beta: version 2.0.2-dev | ||
| 28 | -- Flutter Stable branch: version 2.0.1 | 27 | +- Flutter Master/Dev/Beta: version 2.0.7-dev |
| 28 | +- Flutter Stable branch: version 2.0.3 | ||
| 29 | 29 | ||
| 30 | Add this to your package's pubspec.yaml file: | 30 | Add this to your package's pubspec.yaml file: |
| 31 | 31 | ||
| 32 | ``` | 32 | ``` |
| 33 | dependencies: | 33 | dependencies: |
| 34 | - get: ^2.0.1 // ^2.0.1-dev on beta/dev/master | 34 | + get: ^2.0.3 // ^2.0.1-dev on beta/dev/master |
| 35 | ``` | 35 | ``` |
| 36 | Exchange your MaterialApp for GetMaterialApp and enjoy! | 36 | Exchange your MaterialApp for GetMaterialApp and enjoy! |
| 37 | ```dart | 37 | ```dart |
| @@ -246,7 +246,7 @@ class Controller extends GetController { | @@ -246,7 +246,7 @@ class Controller extends GetController { | ||
| 246 | int counter = 0; | 246 | int counter = 0; |
| 247 | void increment() { | 247 | void increment() { |
| 248 | counter++; | 248 | counter++; |
| 249 | - update(this); // use update(this) to update counter variable um UI when increment be called | 249 | + update(this); // use update(this) to update counter variable on UI when increment be called |
| 250 | } | 250 | } |
| 251 | } | 251 | } |
| 252 | // On your Stateless/Stateful class, use GetBuilder to update Text when increment be called | 252 | // On your Stateless/Stateful class, use GetBuilder to update Text when increment be called |
-
Please register or login to post a comment