Breaking Changes!
- Removed the direct export
page.dart
. It's now included inpaged_list.dart
andpaged_filter_list.dart
, - Removed export of
view_state
, - Replaced
ViewStateBuilder
builders:onReady
->initial
onLoading
->loading
onRefreshing
->refreshing
onSuccess
->data
onEmpty
->empty
onError
->error
- Replaced
ConnectionBuilder
builders:onOnline
->online
onOffline
->offline
- Replaced
ViewStateListener
callbacks:onSuccess
->onData
Breaking Changes!
- Migrated to
dart
3.0, - Removed:
@Deprecated
methods, - Removed: export of
ListEvent
,DetailsEvent
andPagedListEvent
, - Changed: Repositories to
interface
classes.
- Migrated to
bloc
8.1.x andflutter_bloc
8.1.x, - Added
ConnectionBloc
- a BLoC that exposes the Internet connection state to the UI.
- Migrated to
bloc
8.0.x andflutter_bloc
8.0.x,
Breaking Changes!
- Migrated to
bloc
7.0.0 andflutter_bloc
7.0.1, - Migrated to
null-safety
.
Breaking Changes!
- Migrated to
bloc
6.1.1 andflutter_bloc
6.1.1.
Breaking Changes!
- Migrated to
bloc
5.0.1 andflutter_bloc
5.0.1.
Breaking Changes!
- Changed
Page
should be imported viapackage:flutter_bloc_patterns/page.dart
.
Breaking Changes!
- Changed:
RefreshView
,ViewState
andViewStateBuilder
should be imported
viapackage:flutter_bloc_patterns/view.dart
, - Changed:
ViewStateListener
for handling features that need to occur once per state change such
as navigation, showing aSnackBar
, showing aDialog
, etc, - Added:
const
constructors forViewState
.
- Migrated: to
bloc
3.0.0 andflutter_bloc
3.2.0, - Changed: Rethrowing
errors
fromblocs
to make them available in theonError
method,
- Added:
ViewState
exported.
- Added:
PagedFilterListBloc
- a list BLoC with pagination and filtering, - Changed:
PagedRepository
renamed toPagedListRepository
. - Changed:
FilterRepository
renamed toFilterListRepository
. - Migrated to
bloc
2.0.0 andflutter_bloc
2.0.1
- Migrated to
bloc
1.0.0 andflutter_bloc
1.0.0
- Migrated to
bloc
0.16.1 andflutter_bloc
0.22.0
- Added:
Initial
state introduced along withonReady
callback for theViewStateBuilder
, - Changed:
Repository
renamed toListRepository
,
- Formatting issues fixed.
- 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.