arch/view/view library
Classes
-
BaseIndependentView<
KWidget extends StatefulWidget> - Main class for independent flutter_kore view Contains dependencies, event bus subscription and parts, receives WidgetsBinding post frame callback and manages AutomaticKeepAliveClientMixin for this view
-
BaseView<
KWidget extends BaseWidget, ScreenState, ViewModel extends BaseViewModel< KWidget, ScreenState> > - Main class for flutter_kore view It holds reference to view model, receives WidgetsBinding post frame callback and manages AutomaticKeepAliveClientMixin for this view. It also can receive events
-
BaseViewModel<
KWidget extends StatefulWidget, MState> - Main class to extend to create view models Contains dependencies, event bus subscription, state and parts
- BaseWidget
- Base class for Stateful widget with view model
Mixins
- FormViewModelMixin
- Mixin with helper methods to create form views
-
UseDisposableMixin<
KWidget extends StatefulWidget> - Mixin with methods to create disposable instances that will be disposed when instance is disposed
- ViewKoreInstance
- Mixin with lifecycle methods shared by view models and independent views
Typedefs
- FormViewMixin = FormViewModelMixin
- Alias of FormViewModelMixin to use with independent views
-
ValidatorsMap
= Map<
GlobalKey< State< , Future<StatefulWidget> >FieldValidationState> Function()>