WidgetModel class

Implemented types
Implementers

Constructors

WidgetModel(WidgetModel? parent, String? id, {Scope? scope})

Properties

busy bool
getter/setter pair
busyObservable BooleanObservable?
no setter
children List<WidgetModel>?
getter/setter pair
context BuildContext?
no setter
data ↔ dynamic
getter/setter pair
datasource String?
getter/setter pair
datasources List<IDataSource>?
getter/setter pair
debug bool
getter/setter pair
depth double?
getter/setter pair
element ↔ XmlElement?
getter/setter pair
elementName String
no setter
elementNamespace String?
no setter
framework FrameworkModel?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
latefinal
model WidgetModel
no setter
parent WidgetModel?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope Scope?
getter/setter pair
state String?
getter/setter pair
statelessContext BuildContext?
no setter

Methods

deserialize(XmlElement xml) → void
dispose() → void
execute(String caller, String propertyOrFunction, List arguments) Future<bool?>
findAncestorOfExactType(Type T, {String? id, bool includeSiblings = false}) → dynamic
findAncestorsOfExactType(Type T, {String? id, bool includeSiblings = false}) List?
findChildOfExactType(Type T, {String? id}) → dynamic
findChildrenOfExactType(Type T, {String? id}) List
findDescendantOfExactType(Type? T, {String? id}) → dynamic
findDescendantsOfExactType(Type? T, {String? id}) List?
findListenerOfExactType(Type T) → dynamic
findParentOfExactType(Type T, {String? id}) → dynamic
initialize() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners(String? property, dynamic value) → dynamic
onDataSourceBusy(IDataSource source, bool busy) → dynamic
override
onDataSourceException(IDataSource source, Exception exception) → dynamic
override
onDataSourceSuccess(IDataSource source, Data? list) Future<bool>
override
onPropertyChange(Observable observable) → void
registerListener(IModelListener listener) → dynamic
removeAllListeners() → dynamic
removeChildrenOfExactType(Type T) → void
removeListener(IModelListener listener) → dynamic
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

cloneNode(XmlElement node, Scope? scope) → XmlElement
excludeFromTemplate(XmlElement node, Scope? scope) bool
fromXml(WidgetModel parent, XmlElement node) WidgetModel?
isBound(WidgetModel model, String? key) bool
Returns true if the template references observable => key
isDataSource(String element) bool
unfocus() → void