bloc_lite_flutter 0.2.0
bloc_lite_flutter: ^0.2.0 copied to clipboard

A simplified library for creating stream-based bloc view models that adhere to the BLoC paradigm. Includes Flutter widgets to integrate blocs into the Flutter ecosystem.

[0.2.0] #

  • Removed [BlocStateWidget] in correspondence with the removal of [BlocState] from the core library. (See that changelog for reasoning.)
  • Renamed [BlocWidget] to [BlocBuilder] for clarity on the purpose of the widget.
  • Added autoDispose field to [BlocBuilder] and [InheritedBloc] that, if true, facilitates the disposal of controller when the widgets themselves are disposed. (True by default, false by default on [BlocBuilder.inherited].)
  • [InheritedBloc] now extends [StatefulWidget] in order to support automatic bloc disposal. (An internal class that extends [InheritedWidget] has been added to maintain compatibility with Flutter-standard dependency injection procedures and to keep the performance of [InheritedBloc.of] unchanged.)
  • Added [BlocWidget] as an abstract class that extends [StatefulWidget]. The purpose of the class is to enable conciseness in associating a bloc controller with a user-defined widget that extends [BlocWidget].

[0.1.1] #

  • Updated bloc_lite dependency to 0.1.2
  • Added a more complete README

[0.1.0] #

  • Initial release.
0
likes
60
pub points
36%
popularity

A simplified library for creating stream-based bloc view models that adhere to the BLoC paradigm. Includes Flutter widgets to integrate blocs into the Flutter ecosystem.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

andrew.ackie@gmail.com

License

MIT (LICENSE)

Dependencies

bloc_lite, flutter

More

Packages that depend on bloc_lite_flutter