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
IsolateBlocSelector
widget. Actually it has been added in pervious version but it wasn't exported :)
[2.1.0] #
- Delegate Isolate creating to the
combine
package. 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
IOIsolateFactory
andWebIsolateFactory
.
[2.0.0] #
- BREAKING: update
register
function.- 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:
PlatformChannelSetup
renamed toMethodChannelSetup
soinitialize(initializer,
platformChannelSetup: PlatformChannelSetup()
)
changed toinitialize(initializer,
methodChannelSetup: MethodChannelSetup()
)
- BREAKING:
IsolateCubit
is introduced andIsolateBloc
's api moved to theIsolateCubit
. You can just rename your old IsolateBlocs to IsolateCubit IsolateBlocProvider
now haslazy
parameter
[1.0.4] #
- Add tests and fix bug.
[1.0.3] #
- Update error message on error in
Initializer
function. - 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
initializeMock
function to isolate_bloc_test library.
[0.3.0] #
- Add flutter web support.
- Update readme.
[0.2.0] #
- Add
initializeMock
function for testing. - Delete
getBloc
function and renamegetBlocWrapper
togetBloc
.
[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
getBloc
andgetBlocWrapper
for in Isolate DI. - Add
MultiIsolateBlocProvider
andIsolateBlocConsumer
widgets. - Make better description in the README.md.
- Change some APIs.
[0.0.1] #
- Initial version.