MStateMixin<T > mixin
Methods
addListener (GetStateUpdate listener )
→ Disposer
Register a closure to be called when the object notifies its listeners.
inherited
addListenerId (Object ? key , GetStateUpdate listener )
→ Disposer
inherited
change (MGetStatus <T > status )
→ void
dispose ()
→ void
inherited
disposeId (Object id )
→ void
To dispose an id
from future updates(), this ids are registered
by GetBuilder()
or similar, so is a way to unlink the state change with
the Widget from the Controller.
inherited
loading (NotifierBuilder<T? > widget , {Widget ? onError (MError ? error )?, Widget ? onLoading , double ? loadingIndicatorSize , AlignmentGeometry ? alignment , Widget ? onEmpty , String ? emptyText , WidgetBuilder ? onCustom , bool showLoading = true , bool showError = true , bool showEmpty = true , bool isStateless = false })
→ Widget
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyChildrens ()
→ void
inherited
onLoading (Future <T > body (), {T? initialData , String ? errorMessage , MError ? error , bool useEmpty = true })
→ void
onReload ()
→ void
refresh ()
→ void
inherited
refreshGroup (Object id )
→ void
inherited
removeListener (VoidCallback listener )
→ void
Remove a previously registered closure from the list of closures that the
object notifies.
inherited
removeListenerId (Object id , VoidCallback listener )
→ void
inherited
toString ()
→ String
A string representation of this object.
inherited