Stefan de Vogelaere

Merge remote-tracking branch 'upstream/master'

... ... @@ -24,7 +24,7 @@ doc/api/
*.js.map
# Files and directories created when test or run example
example/android/
example/android/local.properties
example/ios/
example/.dart_tool/
example/.packages
... ...
## [3.10.2]
- Fixed the use of tags with lazyPut and added Ability to overwrite "tag" in GetView and GetWidget.
## [3.10.1]
- Fix analyzer
... ...
... ... @@ -54,7 +54,13 @@
- 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.
**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**
- Getx has a huge ecosystem, capable of running with the same code on Android, iOS, Web, Mac, Linux, Windows, and on your server.
It is possible to fully reuse your code made on the frontend on your backend with **[Get Server](https://github.com/jonataslaw/get_server)**.
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)**.
In addition, to further increase your productivity, we have the
**[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)**
**GetX Community channels:**
... ... @@ -99,7 +105,7 @@ You can make any variable observable using a simple ".obs".
```dart
class Controller extends GetxController{
var count = 0.obs;
increment() => count+1;
increment() => count++;
}
```
... ...
package getx.demo.app.example
import io.flutter.embedding.android.FlutterActivity
class MainActivity : FlutterActivity() {
}
... ...
... ... @@ -73,7 +73,7 @@ packages:
path: ".."
relative: true
source: path
version: "3.10.1"
version: "3.10.2"
http_parser:
dependency: transitive
description:
... ...
... ... @@ -241,9 +241,7 @@ class GetInstance {
}
GetConfig.log('Lazy instance "$S" created');
var _value = put<S>(_factory[key].builder() as S);
final _value = put<S>(_factory[key].builder() as S, tag: tag);
_initDependencies<S>(name: tag);
if (GetConfig.smartManagement != SmartManagement.keepFactory &&
... ...
... ... @@ -13,7 +13,7 @@ import 'simple_builder.dart';
// replacing StateSetter, return if the Widget is mounted for extra validation.
// if it brings overhead the extra call,
typedef GetStateUpdate = bool Function();
typedef GetStateUpdate = void Function();
//typedef GetStateUpdate = void Function(VoidCallback fn);
/// Complies with [GetStateUpdater]
... ... @@ -32,10 +32,8 @@ mixin GetStateUpdaterMixin<T extends StatefulWidget> on State<T> {
/// Experimental method to replace setState((){});
/// Used with GetStateUpdate.
bool getUpdate() {
final _mounted = mounted;
if (_mounted) setState(_stateCallback);
return _mounted;
void getUpdate() {
if (mounted) setState(_stateCallback);
}
}
... ...
name: get
description: Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with GetX.
version: 3.10.1
version: 3.10.2
homepage: https://github.com/jonataslaw/get
environment:
... ...