- Fixed the use of tags with lazyPut and added Ability to overwrite "tag" in GetView and GetWidget.
- Fix analyzer
Getx 3.10 released with CLI and Get Server.
- Added: analyser + effective dart (@Grohden)
- Added TextStyle to generalDialog title and message (@roipeker)
- renamed and added defaults transition duration and types in "GetInterface" (@roipeker)
- added missing parameters in Get.to/Get.offAll (@roipeker)
- added optional transitionDuration and transitionCurve to Get.dialog() (@roipeker)
- Changed HashMap<int,GetStateUpdate> to HashSet and allow update IDs groups on GetBuilder (@roipeker)
- Added a internal VoidCallback in GetStateUpdaterMixin::getUpdate (@roipeker)
- Added Curve property to routes (@roipeker)
- Improve docs, code cleanup, new GetStateUpdaterMixin and GetStateUpdate in favour of StateSetter on GetxController, GetBuilder, SimpleBuilder. (@roipeker)
- Added RxBool.toggle() as an easy shortcut for switching true/false values. (@roipeker)
- Added _RxImp.nil() to easily set the value to null (@roipeker)
- Added missing docs to Rx classes. (@roipeker)
- Added Get.delete(force:false) to Get extensions (@roipeker)
- Added Docs and comments (@nipodemos)
- Added docs to PT-br and fix typos (@eduardoflorence)
- Cleanup route code (@justkawal)
- Extension to facilitate insert widgets inside a CustomScrollView (@alexkharech)
- Fix docs .obs examples (@kai-oswald)
- Added tag capability to GetView
- Improve code separation of RouteManagement and Internacionalization
- Added: Snackbar Status: Open, Opening, Closing and Closed example:
Get.snackbar('title', 'message', snackbarStatus: (status) {
if (status == SnackbarStatus.CLOSED) {
// made anything
}
});
- Added: RxSet. Sets can now also be reactive.
- Added isDesktop/isMobile (@roipeker)
- Improve GetPlatform: It is now possible to know which device the user is using if GetPlatform.isWeb is true. context.responsiveValue used device orientation based on web and non-web applications. Now it checks if it is a desktop application (web or desktop application) to do the responsiveness calculation. (@roipeker)
- Change: The documentation previously stated that Iterables should not access the ".value" property. However, many users did not pay attention to this fact, and ended up generating unnecessary issues and bugs in their application. In this version, we focus on code security. Now ".value" is protected, so it cannot be accessed externally by Lists, Maps or Sets.
- Change: Observable lists are now Dart Lists.
There is no difference in your use:
RxList list = [].obs;
And you useList list = [].obs;
- Change: You do not need to access the ".value" property of primitives.
For Strings you need interpolation.
For num, int, double, you will have the normal operators, and use it as dart types.
This way,
.value
can be used exclusively in ModelClasses. Example:
var name = "Jonny" .obs;
// usage:
Text ("$name");
var count = 0.obs;
// usage:
increment() => count ++;
Text("$count");
Thus: List, Map, Set, num, int, double and String, as of this release, will no longer use the .value property.
NOTE: The changes were not break changes, however, you may have missed the details of the documentation, so if you faced the message: "The member 'value' can only be used within instance members of subclasses of 'rx_list.dart' "you just need to remove the" .value "property from your list, and everything will work as planned. The same goes for Maps and Sets.
- Fix more formatting issues
- Fix formatting issues
- Added RxSet
- Change default logger to developer.log (@jorgegaticav)
- Added BindingsBuilder, ValueBuilder, and ObxValue (@roipeker)
- Fix fallback locale not working if missing country code (@thaihuynhxyz)
- Fix validation of email ".com.br"
- Remove unnecessary whitespaces
- Added logwritter (@stefandevo)
- Added responsiveValue (@juanjoseleca)
- Fixed ghost url for snackbar, bottomsheets, and dialogs and unnamed navigation.
- Fix TextField dispose throw on last Flutter hotfix
- Fix typo on RxList.remove that could cause type errors.
- Remove initialization console print
- Fix exception 'isInit called null' when tags are used in conjunction with dependencies. (@djade007)
- Fix typos (@tiagocpeixoto)
- Fix onInit fired only first time
- Fix language callback(@lundin)
- Fix docs (@nipodemos)
- Fix individual imports
- Structure organization, and improvements.
- Added '[everAll]' Worker: Listen a List of '.obx'
- Added Workers dispose
- Fix transition.noTransition
- Fix TextField and VideoPlayController dispose before transition animation
- Fix extensions (@stefandevo)
- Added CPF to utils options (@kauemurakami)
- Added fenix mode to Get.lazyPut.
Use
Get.lazyPut<Controller>(()=> Controller(), fenix:true)
to have a controller that after being destroyed, has the ability to be recreated in case someone needs it. This is a function that already exists in smartManagement.keepFactory which is now also possible in full mode. - Fix native transition on android
- Improve transitions and refactor route system
- Prevent black blackground on cupertino fullscreenDialog
- Improve GetBuilder ram usage
- Added method update to Rx Now you no longer need to make an entire class reactive to get an element update from it, you can simply call the update method of its instance, like this:
class User{
User(this.name = '', this.age = 0);
String name;
int age;
}
final user = User().obs;
Obx(()=> Text("Name ${user.value.name}: Age: ${user.value.age}"))
// To update:
user.update((user){
user.name = 'Jonny';
user.age = 18;
});
Now is also possible to access a value without using the ".value". Just open and close parentheses. In the previous example, you could do:
user().name; // before: user.value.name
And it is also possible to set a value without using the value, inserting the value directly into the variable.
user(User('João', 35)); // before: user.value = User('João', 35)
Added fenix mode to Get.lazyPut.
- Update readme banner
- Activate unknownRoute on version 3
- Go back transitions.size and transitions.cupertino
- Expose GetInstance
- Improvement .obs methods
- Added extensions to GetUtils and fix typo on GetUtils.isEmail (@stefandevo)
- Added .gitignore file (@hdeyana)
- Breaking changes on Rx api and GetController and RxController were merged, and now you only have the 'GetxController'
- Refactor routing system. Now you can add custom transitions and more
- Improved the use of dynamic routes, you can now define two different pages according to your arguments.
- Added GetView widget
- Added internacionalization
- Added validations
- Added Get queqe
- Added GetStorage (with separated package)
- Minor bug fixes.
- Added getPages API.
- Deprecated namedPages
- Fix default transition
- Added Duration on Get.offAll(@kluverua)
- Added sort to ListX
- Prepared the framework for version 3
- Added Get.focusScope
- Update docs
- Fix Bindings list on GetPageRoute
- Update readme
- Prevent exceptions on onReady with nullables
- Fix List lenght == null
- Fix Workers
- Added: onReady on Controllers LifeCycle
- Added: Observable maps
- Refactor: observable variables that now consume even less RAM.
- Type parameters and added docs
- Added docs
- Improvement performance of Obx
- Fixed: oninit calling only once.
- Added Permissions: You can now revoke permissions to SmartManagement so that it cannot delete a particular controller. Add to Get.put (Controller(), permanent: true); to make it indelible. Get.lazyPut() will not receive this resource. Initially he had it, but we saw in internal tests that it could cause problems with the bindings API. Bindings were created to initialize and delete an instance, if it were allowed to make a controller started with lazyPut permanent, copies of that Controller would be created every time Binding was called. For the safety of users, especially new users who could easily do this, it was decided that this feature will only be present in Get.put.
- Improve: Now a controller's life cycle has no connection with the View life cycle. It is no longer called internally in an "initState", it is now called when the Controller enters memory. This means that now onInit will always be called, regardless of where you started your dependency.
- removed: this property of the update() method has been permanently removed.
-
GetBuilder refactor. 11% reduction in RAM consumption and 2% in CPU consumption for the sample application. (using as base Flutter for linux desktop).
-
The "this" property of the "update" method has been deprecated and will be removed in the next update. Please don't use it anymore. Just use "update()" now.
- Fix Get.generalDialog default options
- Fix broken links on pub
- Fix List empty error
- Added SmartManagement, your application's memory is managed intelligently like never before!
- Added Obx, a widget that knows when to rebuild a child, without needing any type.
- Added MixinBuilder - If you need to use GetBuilder in conjunction with GetX, use GetxController with this widget, and the changes will occur either using update (this) or changing some reactive variable. Use only if necessary, for better RAM consumption, prefer widgets in that order: Obx => GetX => GetBuilder => MixinBuilder. Obx is the lightest of all, and MixinBuilder is a mix of the other 3, whenever possible, use the specific widget.
- Refactor: StateManager of Get.
- Changed: full List API refactor, now value is no longer needed.
- Added Workers: You can hear changes to a variable and trigger custom callbacks.
- Added Bindings API docs.
- Added Portuguese language to readme(@Nipodemos)
- Improve list to set and get methods
- Added obx, a simple state interceptor.
- Improve Bindings, ListX, and
- fix docs typos e broken code (@ghprod)
- Flutter currently has a problem on some devices where using showModalBottomSheet() can cause TextFields to be hidden behind the keyboard (flutter/flutter#18564) this issue is closed, even users reporting that the problem still occurs. The problem happens casually, as well as the problem of the snackbar on the iPhone SE 2, and checking the code, I realized that a padding with MediaQuery.of(context).viewInsets.bottom is missing inside the bottomSheet to make it work correctly, since it does not have any constraint with the keyboard. For stability, I decided not to use the standard Flutter bottomSheet, which contains many bugs, mainly related to keyboard padding, and the lack of respect for topBar's safeArea, and to use a proprietary bottomSheet implementation that is more stable. The Flutter dialog has no problem, so it will be used as the basis for Get.dialog. The bottomSheet will be based on the Flutter bottomSheet Raw API (_ModalBottomSheetRoute), applying bug fixes.
- Added Get.isSnackbarOpen tests
- Refactor Bindings API
- Expose Bindings API
- Added bindings. You can now add bindings from your controllers to your routes, to prepare GetBuilder or GetX to create a dependency already declared in a Binding class. This feature is in an experimental phase, and will not be documented until the end of the tests.
- Removed remnants of previousArgs on routeObserver. This feature had been deprecated in previous updates, and was removed in version 2.5.8. Some remaining references on the routeObserver were causing exceptions in version 2.5.9, and were removed completely in version 2.5.10.
- Fix Get.find with named instance
- Added docs
- Added tests(@chimon2000)
- Fix Get.generalDialog optionals
- Added GetX onInit support
- GetBuilder refactor to work with lazyPut. Now you can list your controllers in advance with Get.lazyPut, and only when it is called for the first time will it be relocated in memory.
- Fix english typos(@gumbarros)
- Fix arguments broken by new methods
- Refactor methods
- Fix snackbar padding on iPhone SE 2.
- Added themes docs
- Added ThemeMode (@RodBr)
- Fix: key not found when Get.key is used with no MaterialApp
- Improve - GetBuilder uses 18% less ram on more of 20 controllers.
- Added List.obs
- Now you can transform any class on obs
- Added GetX, state manager rxDart based.
- Fix error on add for non global controllers
- Fix close method called on not root GetBuilder
- Auto close stream inside close method
- Added docs
- Added interface to GetX support
- Added api to platform brightness
- Fix typos
- Fix cancel button on defaultDialog don't appear when widget implementation usage
- Refator defaultDialog
- Clean code
- Fix Get.LazyPut
- Remove defaultDialog type
- Fix GetRoute not found
- Improve lazyPut and fix tag to lazyput(@rochadaniel)
- Added: Ability to choose or delay a widget's state change according to its ID.
- Added: Ability to fire triggers when loading materialApp.
- Added: Ability to change theme dynamically.
- Added: Ability to rebuild the entire app with one command.
- Added: Ability to trigger events on the MaterialApp.
- Added: Get.lazyPut (lazy loading of dependencies).
- Added: Get.creator - a factory of dependencies .
- Added: Capability of define abstract class on dependencies.
- Get.defaultDialog refactor
- fix typo
- Added Get.rawSnackbar
- Added instantInit config to snackbars
- Refactor Get Instance Manager
- Improved performance and bug fix to Get State Manager
- Improved performance of GetRoute on namedRoutes
- Hotfix on namedRoutes
- Bump new Flutter version
- Added Get.generalDialog
- Fix typo on readme
- Changing the bottomsheet API to comply with the documentation.
- Fix type not found in some versions of Flutter stable
- Update Docs
- Update GetObserver
- Fix docs and typos
- Added easy state manager
- Change dialog API
- Added GetMaterialApp
- Added new experimental APIs
- Improve Observer
- Added default duration on Transitions
- Added new routeNamed sistem
- Added Global stateManager config
- Improve Get instance manager
- Added routingCallback
- Added closeOverlays to Get.back
- Added dynamic urls
- Cleaner code
- Improve lib performance
- Many others minor APIs added
- Improve: Get.finds
- Added Get Instance Manager Get.put / Get.find / Get.delete
- Fix default transitions for namedRoutes
- Added nested navigators
- Added SafeArea to bottomsheets
- Added docs
- Added experimental APIs
- Improve: GetObserver
- Added Get config
- Added logEnable
- Added Default transition
- Added default popGesture behaviour
- Added overlayContext
- Fix Duration transition
- Fix ternary on new dart version
- Added compatibility with Flutter 1.17.1
- Added back popGesture to iOS (default) and Android (optional)
- Improve performance
- Decrease lib size to 94.9kb (25.4k after compiled on release)
- Fix back function
- Plugin refactor
- Added GetPlatform
-Compatibility with Dev branch
- Refactor code of library
-Added docs
-Fix flutter web platform and added GetPlatform
-Improve swipe to back on iOS devices
-Added experimental GetCupertino
-Added setKey to improve modular compatibility -Added ability to define transition duration directly when calling the new route.
-Improve Get.offAll() - predicate now is optional
-Improve default color from dialogs
-Improve snackbar text color -Added background color to snackbar (@claudneysessa)
-Backdrop improvement
-Added backdrop
-Added docs to GetObserver
-Fix typo on snackbar route
-Added: Navigator observer -Added: Get.args to named routes -Improve snackbar performance
-Fix new snackbar features
-Add Get.close method. -Add many Snackbars features
-Fix dialog child error
-Added transitions docs
-Fix bottomsheet on macos
-Fix docs
- Improve geral performance. Get.to Wrap now consumes even less RAM and CPU. In an application with 20 screens, it obtained 82% less RAM usage compared to the traditional method Navigator.push and had a CPU normalization of 23% in a Moto z2, against 64% CPU usage in Navigator.push with MaterialPageRoute. Test it for yourself!
- Added BottomSheet with no context
- Added modern Blur Snackbar
- Added customs transitions
- Improve dialogs performance
- Improve performance.
- Clean code.
- Fix bugs on blurred Snackbars
- Add docs and improve performance
- Add support to snackbars
- Add color and opacity to dialogs
- Add support to dialogs
- Add more documentation
- Improve performance and bug fix
- Added Get.removeRoute // ability to remove one route. Get.until // back repeatedly until the predicate returns true. Get.offUntil // go to next route and remove all the previous routes until the predicate returns true. Get.offNamedUntil // go to next named route and remove all the previous routes until the predicate returns true.
- Improve performance
- Fix Get.back arguments
- Improve performance
- Update docs
- Update docs, readme, and add full support to flutter_web
- Fix bug currentState = null
- Add routes navigation with no context
- Add support to named routes
- Improve Performance
- Add examples
- Doc changes
- initial release