WidgetModel class
- Implemented types
-
- Implementers
Methods
-
deserialize(XmlElement xml)
→ void
-
-
dispose()
→ void
-
disposes of the model releasing resources and removing bindings
-
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, Type? breakOn})
→ List
-
-
findListenerOfExactType(Type T)
→ dynamic
-
-
findParentOfExactType(Type T, {String? id})
→ dynamic
-
-
firstAncestorWhere(dynamic test(dynamic element))
→ dynamic
-
-
getUniqueId(String? id)
→ String
-
-
initialize()
→ Future<void>
-
initializes the model by starting brokers
-
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
-
onDataChange()
→ void
-
-
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
-
notifies property listeners of any changes to a property
-
rebuild()
→ dynamic
-
forces and associated views to rebuild
-
registerListener(IModelListener listener)
→ dynamic
-
adds a models listener to the list
-
removeAllListeners()
→ dynamic
-
removes all model listeners
-
removeChildrenOfExactType(Type T)
→ void
-
-
removeListener(IModelListener listener)
→ dynamic
-
removes a model listener from the list
-
toString()
→ String
-
A string representation of this object.
inherited