isolate_bloc 2.1.1
isolate_bloc: ^2.1.1 copied to clipboard
A dart package that helps implement the BLoC pattern. BLoC works in Isolate and don't slow down UI.
2.1.1 #
- Add
IsolateBlocSelectorwidget. Actually it has been added in pervious version but it wasn't exported :)
2.1.0 #
- Delegate Isolate creating to the
combinepackage. Also this package makes it possible to work with method channels in Isolate
2.0.1 #
- Fix analyzer issues.
- Fix web support.
- Add exports of
IOIsolateFactoryandWebIsolateFactory.
2.0.0 #
- BREAKING: update
registerfunction.- Now it requires registered bloc generic parameters. For example
register(create: () => CounterBloc())changed toregister<CounterBloc, CounterEvent>(create: () => CounterBloc()) - You can set bloc's initial state
register<CounterBloc, CounterEvent>(create: () => CounterBloc(), initialState: InitialCounterEvent())
- Now it requires registered bloc generic parameters. For example
- BREAKING:
PlatformChannelSetuprenamed toMethodChannelSetupsoinitialize(initializer,platformChannelSetup: PlatformChannelSetup())changed toinitialize(initializer,methodChannelSetup: MethodChannelSetup()) - BREAKING:
IsolateCubitis introduced andIsolateBloc's api moved to theIsolateCubit. You can just rename your old IsolateBlocs to IsolateCubit IsolateBlocProvidernow haslazyparameter
1.0.4 #
- Add tests and fix bug.
1.0.3 #
- Update error message on error in
Initializerfunction. - Add live template for Android Studio or Intellij IDEA.
1.0.1 #
- Fix error in
getBloc()
1.0.0 #
- First stable release. Now api won't be changed without big need.
- Change readme due to stable release.
0.4.1 #
- Fix web
0.4.0+1 #
- Fix dependencies.
0.4.0 #
- Add platform channels (
MethodChannel) support.
0.3.1 #
- Move
initializeMockfunction to isolate_bloc_test library.
0.3.0 #
- Add flutter web support.
- Update readme.
0.2.0 #
- Add
initializeMockfunction for testing. - Delete
getBlocfunction and renamegetBlocWrappertogetBloc.
0.1.2 #
- Add and update documentation for everything.
0.1.1 #
- Add Weather app example.
- Now context extension for IsolateBlocProvider have second generic type with state
info
context.isolateBloc<BlocA, BlocAState>()
0.1.0 #
- Add tests.
- Add
getBlocandgetBlocWrapperfor in Isolate DI. - Add
MultiIsolateBlocProviderandIsolateBlocConsumerwidgets. - Make better description in the README.md.
- Change some APIs.
0.0.1 #
- Initial version.