flutter_mvc library

Classes

Mvc<TControllerType extends MvcController<TModelType>, TModelType>
A StatefulWidget that implements the MVC design pattern.
MvcApp
The root widget for an MVC application.
MvcBody
use MvcController.querySelectorAll to update it in controller
MvcBuilder
use MvcController.querySelectorAll to update it in controller
MvcContext
The context for an MvcWidget.
MvcController<TModelType>
An abstract base class for a controller in the MVC design pattern.
MvcDependableFunctionListener
A function-based implementation of MvcDependableListener.
MvcDependableListener
An interface for listeners that can be notified of changes in a MvcDependableObject.
MvcDependencyProvider
A widget that provides a dependency injection scope to its descendants.
MvcFooter
use MvcController.querySelectorAll to update it in controller
MvcHeader
use MvcController.querySelectorAll to update it in controller
MvcRawStore<T extends Object>
A raw store that holds a state object T and manages its dependencies.
MvcStateAccessor
Provides access to the state store for reading and subscribing to state changes.
MvcStatefulElement<TControllerType extends MvcController>
The element for an MvcStatefulWidget.
MvcStatefulWidget
A stateful widget for the MVC framework.
MvcStatelessElement<TControllerType extends MvcController>
mvc framework stateless element
MvcStatelessWidget
A stateless widget for the MVC framework.
MvcStateListener
MvcStateScope
A widget that creates a new state scope.
MvcView<TControllerType extends MvcController>
An abstract base class for a view in the MVC design pattern.
MvcViewBuilder<TControllerType extends MvcController>
A generic MvcView implementation that uses a builder function to create the view.
MvcWidget
A base class for widgets in the MVC framework.
MvcWidgetScope
Provides a scope for creating and managing states.
MvcWidgetSelector
An interface for an object that can query for MvcWidgets using selectors.
MvcWidgetState<T extends MvcStatefulWidget>
The base class for the State of an MvcStatefulWidget.
MvcWidgetUpdater
An interface for an object that can update an MvcWidget.
ServiceCollection
The service collection, build ServiceProvider with it
ServiceDescriptor<T>
The service descriptor
ServiceObserver<T>
The service observer
ServiceProvider
ServiceProvider

Mixins

DependencyInjectionService
with DependencyInjectionService only for service from ServiceProvider
MvcBasicElement
A mixin for Elements that provides basic MVC framework functionalities, including dependency injection scope management.
MvcDependableObject
A mixin for objects that can be depended upon by widgets.
MvcSingleTickerProviderStateMixin<T>
copy from TickerProviderStateMixin
MvcTickerProviderStateMixin<T>
copy from TickerProviderStateMixin
MvcWidgetService
A mixin for services that need to be associated with an MvcWidget.

Extensions

MvcControllerServiceCollection on ServiceCollection
Provides extension methods for ServiceCollection to facilitate controller registration.
MvcServicesExtension on BuildContext
Extension methods for BuildContext to interact with the MVC framework.
MvcWidgetUpdaterCollection on Iterable<MvcWidgetUpdater>
Extension methods for collections of MvcWidgetUpdater.
ServiceObserviceListExtension on Iterable<ServiceObserver>