Event class
Events are inline void function calls
Generally Events are used from templates to force an action to happen within the code Events are scoped but broadcast up and individual widgets can be set up to handle events
Constructors
-
Event(EventTypes type, {Map<
String, String?> ? parameters, bool bubbles = true, bool cancellable = true, WidgetModel? model})
Properties
- bubbles ↔ bool
-
Deprecated
getter/setter pair
- cancellable ↔ bool
-
Acts as an override to any individual widget handling of handled
getter/setter pair
-
functions
→ List<
EventManager> -
List of all IEventManager objects related to handling this event
final
- handled ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- model → WidgetModel?
-
final
-
parameters
↔ Map<
String, String?> ? -
Parameters to go with an event
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → EventTypes
-
What type the event is to determine what it should do
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited