VariableModel class

Inheritance

Constructors

VariableModel(WidgetModel parent, String? id, {String? type, dynamic value, dynamic onchange, bool? constant})

Properties

ancestors List?
no setterinherited
busy bool
getter/setter pairinherited
busyObservable BooleanObservable?
no setterinherited
children List<WidgetModel>?
getter/setter pairinherited
constant bool
latefinal
context BuildContext?
no setterinherited
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
notificationsEnabled bool
getter/setter pairinherited
onchange String?
getter/setter pair
parent WidgetModel?
getter/setter pairinherited
returnas String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope Scope?
getter/setter pairinherited
subscope Scope?
no setterinherited
type String?
getter/setter pair
value ↔ dynamic
getter/setter pair

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
override
execute(String caller, String propertyOrFunction, List arguments) Future<bool?>
inherited
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
firstAncestorWhere(dynamic test(dynamic element)) → dynamic
inherited
getUniqueId(String? id) String
inherited
initialize() Future<void>
initializes the model by starting brokers
inherited
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
onChange() Future<bool>
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
onPropertyChange(Observable observable) → void
notifies property listeners of any changes to a property
override
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

encode(dynamic value, String? type) String?
fromXml(WidgetModel parent, XmlElement xml, {String? type, bool? constant}) VariableModel?
override