flutter_snow_base 0.2.0
flutter_snow_base: ^0.2.0 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 #
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!