flate library

Classes

ComponentAction<T extends Intent>
DefaultFlateContext
Default instance of FlateContext used when context instance is not provided.
Flate
FlateComponent<S extends StatefulWidget>
FlateComponentActions
Widget delegate intent invocation to component.
FlateConfiguration
FlateContext
The class is used to store, initialize and dispose information about current Environment
FlateFragment
The class is a fragment of the application state.
FlateModule
FlateRegistry
FlateService
This mixin should be used in declaring classes that interact with external resources such as a database, files or file system, etc.
FlateStore
The class is designed to store the entire shared state of the application.
ReduceRebuild
Registration
The class is used in the process of registering a component in the FlateStore to get a set of Type with which this component can be registered
StatelessReduceRebuildElement
StatelessReduceRebuildWidget
TestElementProvider

Mixins

FlateComponentMixin<T extends StatefulWidget>
FlateElementMixin
FlateElementMixin is main primitive in Flate architecture
FlateElementProvider
Mixin to implement callable class which provide instance of FlateElementMixin
FlateFragmentMixin
Mixin used to implement FlateFragment class
FlateServiceMixin
Mixin used to implement FlateService class
ReduceRebuildElementMixin
ReduceRebuildMixin

Extensions

BuildContextExtension on BuildContext
Extension for BuildContext used to simplify some operations with Intent or Notification.

Functions

commit<T>(CommitCallback<T> callback, {String? debugName}) Future<T>
Perform synchronous change of state.
runCommit<T>(CommitCallback<T> callback, {String? debugName}) FutureOr<T>
This method execute provide callback

Typedefs

ActionInvokeHandler<T extends Intent> = Object? Function(T, [BuildContext?])
CommitCallback<T> = FutureOr<T> Function()
CommitRunner<T> = FutureOr<T> Function(CommitCallback<T> callback, {String? debugName})
ComponentActionPredicate<T extends Intent> = bool Function(T)
RegistryBuilder = FlateRegistry Function()