controllable_flutter library
The Flutter part of the controllable ecosystem. Contains widgets that operate with controllable on the UI level.
Classes
- BuildContext
- A handle to the location of a widget in the widget tree.
- SideEffectStreamable
-
XBuilder<
TController extends XController< TState> , TState extends XState> - A builder that can be used if a widget must be rebuilt every time a new state is emitted.
-
XControllable<
TEvent> - Annotation for XController classes.
-
XController<
TState extends XState> - XEvent
-
XListener<
TStreamable extends SideEffectStreamable> - Allows to listen for side effects fired by controllers.
- XMultiListener
- XMultiProvider
-
XProvider<
TController extends XController< TState> , TState extends XState> - XState
Mixins
-
ControllableSubscriptions<
T extends XState> - A mixin for XControllers that helps to control stream subscriptions.
Extensions
- ReadContext on BuildContext
- Exposes the read method.
- SelectContext on BuildContext
-
Adds a
select
method on BuildContext.
Constants
- mustCallSuper → const _MustCallSuper
-
Used to annotate an instance member (method, getter, setter, operator, or
field)
m
. Indicates that every invocation of a member that overridesm
must also invokem
. In addition, every method that overridesm
is implicitly annotated with this same annotation. - nonVirtual → const _NonVirtual
-
Used to annotate an instance member (method, getter, setter, operator, or
field)
m
in a classC
or mixinM
. Indicates thatm
should not be overridden in any classes that extend or mixinC
orM
. - protected → const _Protected
- Used to annotate an instance member in a class or mixin which is meant to be visible only within the declaring library, and to other instance members of the class or mixin, and their subtypes.