flutter_control 0.1.4 copy "flutter_control: ^0.1.4" to clipboard
flutter_control: ^0.1.4 copied to clipboard

outdated

Flutter Control is library to simply maintain App and State management. Provides some basic Widgets and Controllers to start with.

Controller - Stream workflow to separate app logic from Widgets.

AppFactory instance for object initialization and storage. Also works as global multi-stream.

AppBase as top layer Widget - setups all core Controls. Currently supports/wraps just MaterialApp. AppControl as top layer InheritedWidget with access to all core Control objects.

AppLocalization - basic .json based localization. AppPrefs - just wrapping for SharedPreferences plugin. BaseTheme - some basic sizes etc.


ControlWidget is base StatefulWidget of Control workflow. Some functionality is pulled from ControlState to prevent overuse of States.

  • ticker variants: ControlTickerWidget, ControlSingleTickerWidget.

RouteControl is mixin for ControlWidget to enable Navigation via Controllers. RouteHandler wraps Navigator routing and Widgets initialization. NavigationStack wraps Navigator and adds some functionality for Controllers. InputField wraps TextField and adds some functionality for Controllers. FieldBuilder wraps StreamBuilder and adds some functionality for Controllers.

  • basic variants: FieldBoolBuilder, FieldListBuilder, etc.

BaseController is base controller used with ControlWidget. StateController can notify ControlWidget about State changes. RouteController is mixin to enable Navigation from Controller. FieldController wraps Stream for easier use and adds some functionality.

  • basic variants: BoolController, ListController, ObjectController, etc.

Some utils, helpers etc.

19
likes
0
pub points
47%
popularity

Publisher

verified publisherbasecontrol.dev

Flutter Control is library to simply maintain App and State management. Provides some basic Widgets and Controllers to start with.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, shared_preferences

More

Packages that depend on flutter_control