flutter_snow_base 2.2.3+1
flutter_snow_base: ^2.2.3+1 copied to clipboard
A new Flutter package that is used to base all flutter projects of snowmanlabs.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased #
2.2.3 - 2021-04-30 #
Improvements #
- Improved loading widgets of orderable lists with
ListViewResource.
2.2.0 - 2021-04-01 #
Breaking changes #
- Removed the
NetworkBoundResources()constructor and transformed all methods to static ( you can follow the Readme.md to help you with the migration.
Improvements #
- Added
metaDataproperty to theResourceobject that will be useful with stream methods. It will store the last movements of the results of the stream (last 2 results, for better performance). - All
streammethods ofNetworkBoundResourceswere adapted to use themetaDataofResource.
2.1.0 - 2021-03-17 #
Breaking changes #
- Changed dependency
reordabletoflutter_reorderable_list, because the other is discontinued.
2.0.0-nullsafety.1 - 2021-03-17 #
Improvements #
- Updated dependencies (catcher, dio, flutter_modular and responsive_framework)
2.0.0-nullsafety.0 - 2021-03-10 #
1.2.0-nullsafety.0 - 2021-03-03 #
Breaking changes #
- Removed
CacheInterceptor, because was causing too much complications when the project do not use this interceptor, this happens because whe used a package calleddio_http_cache, and the updates to null-safety was breaking projects and this package.
1.1.0-nullsafety.0 - 2021-01-29 #
Improvements #
- Improved reordable list with the package
reordables(the design is suddenly different between the until version that used the nativeReordebleListView)
1.0.0-nullsafety.2 - 2020-12-15 #
0.2.0 - 2020-11-18 (Breaking changes) #
Breaking changes #
- Changed the name
ListViewWidgettoListViewResourceWidget
Added #
- Added variables of
ListViewinListViewResourceWidget - Added method
asSimpleStreaminNetworkBoundResourcesthat allows use a simple stream and transforms only the result. - Added method
asResourceStreaminNetworkBoundResourcesthat allows use a simple stream and transforms only the result, with the differential that the stream can send by result aResource, so leaving the responsible to stream to control if is on error or not. - Removed the params
shouldFetchandsaveCallResultof required to optional of methodasStreaminNetworkBoundResources - Added automatic stream close when using loadFromDbFuture
- Added
asRequestmethod inResource, that map errors on functions that does not returns aFuture.
Fixes #
- Fixed pedantic issues
- Fixed add sink events on closed sinks
0.1.7 - 2020-11-17 #
Added #
- Added
errorWithDataWidgetandloadingWithDataWidgetattributes onResourceWidget
0.1.6 - 2020-11-16 #
Fixes #
- Export Widget
ErrorSnowWidget - Removed unused padding attribute of
ResourceWidget - Fixed
errorWidgetofResourceWidget
0.1.4 - 2020-10-26 #
Added #
WidgetUtilColorUtilCurrencyPtBrInputFormatterto pt-br currency maskUIHelperto horizontal and vertical spacement- Add error log to
Resource.asFuturewhen failed
0.1.3 - 2020-09-10 #
Added #
- Added
ListViewWidget, that helps you to create a list of widgets with a resource, that have 5 states, error, error with data, loading, loading with data and success. WithRefreshIndicatorand a defaultErrorWidget. - Added
ResourceWidget, that helps you to create a widget with a resource, that have 3 states, error, loading and success. With a defaultErrorWidgetwith a callback function.
Fixes #
- Updated packages
0.1.1 - 2020-07-29 #
Added #
- Added
transformDataandmergeStatusmethods in Resource object. - Improvement when occur an error with
Resource.asFuture(). - Bug fixes.
0.1.0 - 2020-06-26 #
Added #
- Initial version of the package.
- Thanks to Denis Viana and to Lucas Polazzo that made this first version of the package!