mvc_pattern library

This library contains the classes necessary to develop apps using the MVC design pattern separating the app's 'interface' from its 'business logic' and from its 'data source' if any.

Code samples can be found in the following links: https://github.com/AndriousSolutions/mvc_pattern/tree/master/test https://github.com/AndriousSolutions/mvc_pattern/blob/master/example/lib/main.dart

https://github.com/AndriousSolutions/mvc_pattern

Classes

AppMVC
Main or first class to pass to the 'main.dart' file's runApp() function. Example: void main() => runApp(MyApp());
ControllerMVC
Controller Class Your 'working' class most concerned with the app's functionality.
StatedWidget
Combines the StatefulWidget & State class into one. Note: A Widget is marked as @immutable so all of the instance fields of this class, whether defined directly or inherited, must be final.
StateEvents
Responsible for the event handling in all the Controllers, Listeners and Views.
StatefulWidgetMVC
The StatefulWidget that exposes the State object. Deprecated because 'saving' the state object errors in the Flutter framework. WILL BE REMOVED WITH THE NEXT MAJOR VERSION. Note: A Widget is marked as @immutable so all of the instance fields of this class, whether defined directly or inherited, must be final.
StatelessWidgetMVC
Note: A Widget is marked as @immutable so all of the instance fields of this class, whether defined directly or inherited, must be final.
StateMVC
Main State Object seen as the 'StateView.'
StateViewMVC
The State Object with an Error Handler in its build() function.
Uuid
A UUID generator, useful for generating unique IDs for your Todos. Shamelessly extracted from the author of Scoped Model plugin, Who maybe took from the Flutter source code. I'm not telling! [...]
ViewMVC
View Class Extend and implement its build() function to compose its interface.