asyncstate 3.0.0-dev.1 asyncstate: ^3.0.0-dev.1 copied to clipboard
This package will help you to call a loading in your async methods very easily, and you don't need to worried when it's is starting or finishing.
3.0.0-dev.1 #
- BREAKING CHANGE.
- The "loaders" are now "Widgets", it is no longer necessary to be "AsyncOverlay".
- Updated the "onError" method in "AsyncStateBuilder", with new parameters.
- New extension called "asyncLazyLoader", which keeps the loader open after executing the future, so you can execute something.
- New extension called "asyncAwaitLoader", which only calls the "loader" after the future is resolved.
- New extension and class called "asyncValue", which allows you to create async values, and use ".build" to create the widget.
- Removed old "WillPopScope" and used new "PopScope".
- Updated the example and README, please check the new features and more details.
2.1.1-dev.1 #
- BREAKING CHANGE.
- New AsyncOverlay, now you can use the overlay to show the loader.
- New AsyncValue, now you can you "asyncValue" to create async values.
2.1.0 #
- Update imports strategy, by @felipecastrosales.
- Improve references and changelog.
2.0.3 #
- BREAKING CHANGE - Removed AsyncStateMixin.
- Fixed “AsyncLoaderHandler”, now the loader doesn't crash when an “exception” comes up, we use “PlatformDispatcher.instance.onError” to close automatically in case of any “exception”. Thanks @rodrigorahman for the idea.
- Fixed “asyncState” extension.
- Implemented “AsyncLoaderHandler” extension per context.
- Implemented “AsyncStateExceptionHandler” for handling “exceptions” per route or globally.
- You can now enable or disable the “log”.
- Updated the example.
- Updated README - Check this for updates.
2.0.2 #
- Implemented the "AsyncLoaderHandler", this class allows you start the loader and close when necessary.
- Thanks @rodrigorahman for the idea and the code model.
2.0.1 #
- Improve the pop in the dialog and scaffold to prevent remove more than the navigation stack.
- Thanks to @brasizza
- Fixed named parameter in builder.
2.0.0 #
-
Break Change
- Removed static methods.
- Now you must wrap the MaterialApp/CupertinoApp in the "AsyncStateBuilder", through which you can customize your loading widget and inject the "NavigatorObserver". Thanks @rodrigorahman for the idea.
- New "Enum LoaderType" that allows you to call different widgets for the view.
- New methods implemented in "AsyncStateMixin", now you can call dialog, snackbar, bottomSheet and materialBanner, directly from the class that uses the mixin.
- Flutter sdk: ">=3.0.0 <4.0.0"
- Update the README and examples.
1.0.0 #
- Improve the loading to be much more independent and customizable
- Thanks to @brasizza
0.0.5 #
- Build with Flutter 3.0.3
0.0.4 #
- Change the CupertinoActionSheet to CupertinoActivityIndicator, because the CircularProgress from android is CupertinoActivityIndicator in IOS!
- Thanks to @brasizza
0.0.3 #
- Fix issues
- Now it is not mandatory to start the class in main.
- You can define a new loader anywhere in the app.
- Native loader according to the platform (iOS,Android).
0.0.2 #
- Change the pubspec to increase the score and improve the example folder
- Now this package is full compatible with Ios, Android, Web, Macos
- Update Readme
- Thanks to @brasizza
0.0.1 #
- TODO: Describe initial release.