wx_event library

Classes

DrivenChild<T extends Widget?>
A widget that displays different child widgets based on events.
DrivenChildResolver<T extends Widget?>
DrivenColor
DrivenMouseCursor
Defines a MouseCursor whose value depends on a set of WidgetEvents which represent the interactive state of a component.
DrivenProperty<T>
Interface for classes that resolve to a value of type T based on a widget's interactive "event", which is defined as a set of WidgetEvents.
DrivenSpinner
A circular spinner that can be driven by a DrivenWidget.
DrivenSpinnerTheme
A Widget that controls how descendant DrivenSpinners should look like.
DrivenSpinnerThemeData
Defines the visual properties of DrivenSpinner.
DrivenSwitcher
A widget that switches between child widgets based on events, with animations.
DrivenSwitcherResolver
DrivenSwitcherTheme
A Widget that controls how descendant DrivenSwitchers should look like.
DrivenSwitcherThemeData
Defines the visual properties of DrivenSwitcher.
WidgetEvent
Interactive events that some of the widgets can take on when receiving input from the user.
WidgetEventController
Manages a set of WidgetEvents and notifies listeners of changes.

Mixins

WidgetEventMixin<T extends StatefulWidget>
Mixin for State classes that require knowledge of changing WidgetEvent values for their child widgets.

Typedefs

DrivenPropertyResolver<T> = T Function(Set<WidgetEvent> events)
Signature for the function that returns a value of type T based on a given set of events.
WidgetEvents = Set<WidgetEvent>
Alias to Set