with_controller library

Classes

WithController<C>
A WithController widget is a convenience widget. It avoids the need of managing a controller's lifecycle, its dispose and also its reactions, since most of the times it's just boilerplate burden.

Typedefs

ControllerCreator<T> = T Function(BuildContext context)
ControllerDisposer<T> = void Function(T controler)
ReactionCreator<T> = ReactionDisposer Function(T controller)
WidgetControllerBuilder<T> = Widget Function(BuildContext contex, T controller)