flutter_bloc_patterns 0.13.0
flutter_bloc_patterns: ^0.13.0 copied to clipboard
A set of most common BLoC use cases build on top of flutter_bloc library.
Changelog #
0.13.0 #
Breaking Changes!
- Removed the direct export
page.dart. It's now included inpaged_list.dartandpaged_filter_list.dart, - Removed export of
view_state, - Replaced
ViewStateBuilderbuilders:onReady->initialonLoading->loadingonRefreshing->refreshingonSuccess->dataonEmpty->emptyonError->error
- Replaced
ConnectionBuilderbuilders:onOnline->onlineonOffline->offline
- Replaced
ViewStateListenercallbacks:onSuccess->onData
0.12.0 #
Breaking Changes!
- Migrated to
dart3.0, - Removed:
@Deprecatedmethods, - Removed: export of
ListEvent,DetailsEventandPagedListEvent, - Changed: Repositories to
interfaceclasses.
0.11.0 #
- Migrated to
bloc8.1.x andflutter_bloc8.1.x, - Added
ConnectionBloc- a BLoC that exposes the Internet connection state to the UI.
0.10.0 #
- Migrated to
bloc8.0.x andflutter_bloc8.0.x,
0.9.0 #
Breaking Changes!
- Migrated to
bloc7.0.0 andflutter_bloc7.0.1, - Migrated to
null-safety.
0.8.0 #
Breaking Changes!
- Migrated to
bloc6.1.1 andflutter_bloc6.1.1.
0.7.0 #
Breaking Changes!
- Migrated to
bloc5.0.1 andflutter_bloc5.0.1.
0.6.0 #
Breaking Changes!
- Changed
Pageshould be imported viapackage:flutter_bloc_patterns/page.dart.
0.5.0 #
Breaking Changes!
- Changed:
RefreshView,ViewStateandViewStateBuildershould be imported
viapackage:flutter_bloc_patterns/view.dart, - Changed:
ViewStateListenerfor handling features that need to occur once per state change such
as navigation, showing aSnackBar, showing aDialog, etc, - Added:
constconstructors forViewState.
0.4.0 #
- Migrated: to
bloc3.0.0 andflutter_bloc3.2.0, - Changed: Rethrowing
errorsfromblocsto make them available in theonErrormethod,
0.3.1 #
- Added:
ViewStateexported.
0.3.0 #
- Added:
PagedFilterListBloc- a list BLoC with pagination and filtering, - Changed:
PagedRepositoryrenamed toPagedListRepository. - Changed:
FilterRepositoryrenamed toFilterListRepository. - Migrated to
bloc2.0.0 andflutter_bloc2.0.1
0.2.2 #
- Migrated to
bloc1.0.0 andflutter_bloc1.0.0
0.2.1 #
- Migrated to
bloc0.16.1 andflutter_bloc0.22.0
0.2.0 #
- Added:
Initialstate introduced along withonReadycallback for theViewStateBuilder, - Changed:
Repositoryrenamed toListRepository,
0.1.1 #
- Formatting issues fixed.
0.1.0 #
- Added:
ListBloc- a basic list BLoC with no filtering nor pagination, - Added:
FilterListBloc- a list BLoC with filtering, but without pagination, - Added:
PagedListBloc- a list BLoC with pagination but without filtering, - Added:
DetailsBloc- a BLoC that allows to fetch a single element with given identifier.