ShortcutModel class

Inheritance

Constructors

ShortcutModel(WidgetModel parent, String? id, {String? key, String? action})

Properties

action String?
getter/setter pair
altPressed bool
getter/setter pair
ancestors List?
no setterinherited
busy bool
getter/setter pairinherited
busyObservable BooleanObservable?
no setterinherited
children List<WidgetModel>?
getter/setter pairinherited
context BuildContext?
no setterinherited
ctrlPressed bool
getter/setter pair
data ↔ dynamic
getter/setter pairinherited
datasource String?
getter/setter pairinherited
datasources List<IDataSource>?
getter/setter pairinherited
debug bool
getter/setter pairinherited
descendants List?
no setterinherited
element ↔ XmlElement?
getter/setter pairinherited
elementName String
no setterinherited
framework FrameworkModel?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
id String
latefinalinherited
isLocalScope bool
latefinalinherited
key String?
getter/setter pair
keySequence List<LogicalKeyboardKey>
getter/setter pair
notificationsEnabled bool
getter/setter pairinherited
parent WidgetModel?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope Scope?
getter/setter pairinherited
shiftPressed bool
getter/setter pair
subscope Scope?
no setterinherited

Methods

deserialize(XmlElement xml) → void
Deserializes the FML template elements, attributes and children
override
dispose() → void
disposes of the model releasing resources and removing bindings
inherited
execute(String caller, String propertyOrFunction, List arguments) Future<bool?>
override
findAncestorOfExactType(Type T, {String? id, bool includeSiblings = false}) → dynamic
inherited
findAncestorsOfExactType(Type? T, {String? id, bool includeSiblings = false}) List?
inherited
findChildOfExactType(Type T, {String? id}) → dynamic
inherited
findChildrenOfExactType(Type T, {String? id}) List
inherited
findDescendantOfExactType(Type? T, {String? id}) → dynamic
inherited
findDescendantsOfExactType(Type? T, {String? id, Type? breakOn}) List
inherited
findListenerOfExactType(Type T) → dynamic
inherited
findParentOfExactType(Type T, {String? id}) → dynamic
inherited
fire() → dynamic
firstAncestorWhere(dynamic test(dynamic element)) → dynamic
inherited
getUniqueId(String? id) String
inherited
initialize() Future<void>
initializes the model by starting brokers
inherited
isMatch(List<LogicalKeyboardKey> keysPressed, bool ctrl, bool alt, bool shift) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners(String? property, dynamic value, {bool notify = false}) → dynamic
model listener notifications
inherited
onDataChange() → void
inherited
onDataSourceBusy(IDataSource source, bool busy) → dynamic
inherited
onDataSourceException(IDataSource source, Exception exception) → dynamic
inherited
onDataSourceSuccess(IDataSource source, Data? list) Future<bool>
inherited
onKeySetChange(dynamic _) → dynamic
onPropertyChange(Observable observable) → void
notifies property listeners of any changes to a property
inherited
rebuild() → dynamic
forces and associated views to rebuild
inherited
registerListener(IModelListener listener) → dynamic
adds a models listener to the list
inherited
removeAllListeners() → dynamic
removes all model listeners
inherited
removeChildrenOfExactType(Type T) → void
inherited
removeListener(IModelListener listener) → dynamic
removes a model listener from the list
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromXml(WidgetModel parent, XmlElement xml) ShortcutModel?
override