Showing
5 changed files
with
16 additions
and
9 deletions
@@ -54,7 +54,13 @@ | @@ -54,7 +54,13 @@ | ||
54 | 54 | ||
55 | - GetX is not a bloated. It has a multitude of features that allow you to start programming without worrying about anything, but each of these features are in separate containers, and are only started after use. If you only use State Management, only State Management will be compiled. If you only use routes, nothing from the state management will be compiled. You can compile the benchmark repository, and you will see that using only Get state management, the application compiled with Get has become smaller than all other applications that have only the state management of other packages, because nothing that is not used will be compiled into your code, and each GetX solution was designed to be extra lightweight. The merit here also comes from Flutter's tree shaking which is incredible, and manages to eliminate unused resources like no other framework does. | 55 | - GetX is not a bloated. It has a multitude of features that allow you to start programming without worrying about anything, but each of these features are in separate containers, and are only started after use. If you only use State Management, only State Management will be compiled. If you only use routes, nothing from the state management will be compiled. You can compile the benchmark repository, and you will see that using only Get state management, the application compiled with Get has become smaller than all other applications that have only the state management of other packages, because nothing that is not used will be compiled into your code, and each GetX solution was designed to be extra lightweight. The merit here also comes from Flutter's tree shaking which is incredible, and manages to eliminate unused resources like no other framework does. |
56 | 56 | ||
57 | -**GetX has an [extension to VSCode](https://marketplace.visualstudio.com/items?itemName=get-snippets.get-snippets) to make your programming with GetX even more productive** | 57 | +- Getx has a huge ecosystem, capable of running with the same code on Android, iOS, Web, Mac, Linux, Windows, and on your server. |
58 | +It is possible to fully reuse your code made on the frontend on your backend with **[Get Server](https://github.com/jonataslaw/get_server)**. | ||
59 | + | ||
60 | +In addition, the entire development process can be completely automated, both on the server and on the front end with **[Get CLI](https://github.com/jonataslaw/get_cli)**. | ||
61 | + | ||
62 | +In addition, to further increase your productivity, we have the | ||
63 | +**[extension to VSCode](https://marketplace.visualstudio.com/items?itemName=get-snippets.get-snippets)** and the **[extension to Android Studio/Intellij](https://plugins.jetbrains.com/plugin/14975-getx-snippets)** | ||
58 | 64 | ||
59 | **GetX Community channels:** | 65 | **GetX Community channels:** |
60 | 66 | ||
@@ -99,7 +105,7 @@ You can make any variable observable using a simple ".obs". | @@ -99,7 +105,7 @@ You can make any variable observable using a simple ".obs". | ||
99 | ```dart | 105 | ```dart |
100 | class Controller extends GetxController{ | 106 | class Controller extends GetxController{ |
101 | var count = 0.obs; | 107 | var count = 0.obs; |
102 | - increment() => count+1; | 108 | + increment() => count++; |
103 | } | 109 | } |
104 | ``` | 110 | ``` |
105 | 111 |
@@ -73,7 +73,7 @@ packages: | @@ -73,7 +73,7 @@ packages: | ||
73 | path: ".." | 73 | path: ".." |
74 | relative: true | 74 | relative: true |
75 | source: path | 75 | source: path |
76 | - version: "3.10.1" | 76 | + version: "3.10.2" |
77 | http_parser: | 77 | http_parser: |
78 | dependency: transitive | 78 | dependency: transitive |
79 | description: | 79 | description: |
@@ -13,7 +13,7 @@ import 'simple_builder.dart'; | @@ -13,7 +13,7 @@ import 'simple_builder.dart'; | ||
13 | 13 | ||
14 | // replacing StateSetter, return if the Widget is mounted for extra validation. | 14 | // replacing StateSetter, return if the Widget is mounted for extra validation. |
15 | // if it brings overhead the extra call, | 15 | // if it brings overhead the extra call, |
16 | -typedef GetStateUpdate = bool Function(); | 16 | +typedef GetStateUpdate = void Function(); |
17 | //typedef GetStateUpdate = void Function(VoidCallback fn); | 17 | //typedef GetStateUpdate = void Function(VoidCallback fn); |
18 | 18 | ||
19 | /// Complies with [GetStateUpdater] | 19 | /// Complies with [GetStateUpdater] |
@@ -32,10 +32,8 @@ mixin GetStateUpdaterMixin<T extends StatefulWidget> on State<T> { | @@ -32,10 +32,8 @@ mixin GetStateUpdaterMixin<T extends StatefulWidget> on State<T> { | ||
32 | 32 | ||
33 | /// Experimental method to replace setState((){}); | 33 | /// Experimental method to replace setState((){}); |
34 | /// Used with GetStateUpdate. | 34 | /// Used with GetStateUpdate. |
35 | - bool getUpdate() { | ||
36 | - final _mounted = mounted; | ||
37 | - if (_mounted) setState(_stateCallback); | ||
38 | - return _mounted; | 35 | + void getUpdate() { |
36 | + if (mounted) setState(_stateCallback); | ||
39 | } | 37 | } |
40 | } | 38 | } |
41 | 39 |
1 | name: get | 1 | name: get |
2 | description: Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with GetX. | 2 | description: Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with GetX. |
3 | -version: 3.10.1 | 3 | +version: 3.10.2 |
4 | homepage: https://github.com/jonataslaw/get | 4 | homepage: https://github.com/jonataslaw/get |
5 | 5 | ||
6 | environment: | 6 | environment: |
-
Please register or login to post a comment