RxView<T extends ViewModelBase > class
abstract
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
key
→ Key ?
Controls how one widget replaces another widget in the tree.
final inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
viewModel
→ T
no setter
Methods
afterFirstLayout (BuildContext context )
→ void
bindViewModel (T viewModel )
→ void
build (BuildContext context )
→ Widget
createElement ()
→ StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState ()
→ State <StatefulWidget >
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren ()
→ List <DiagnosticsNode >
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
debugFillProperties (DiagnosticPropertiesBuilder properties )
→ void
Add additional properties associated with the node.
inherited
didChangeDependencies ()
→ void
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onFocusGained ()
→ void
Triggered when either onVisibilityGained or onForegroundGained is called.
Equivalent to onResume() on Android or viewDidAppear() on iOS.
onFocusLost ()
→ void
Triggered when either onVisibilityLost or onForegroundLost is called.
Equivalent to onPause() on Android or viewDidDisappear() on iOS.
onForegroundGained ()
→ void
It means, for example, that the user switched back to your app or turned the
device's screen back on while your widget was visible.
onForegroundLost ()
→ void
It means, for example, that the user sent your app to the background by opening
another app or turned off the device's screen while your widget was visible.
onVisibilityGained ()
→ void
It means the widget is now visible within your app.
onVisibilityLost ()
→ void
It means the widget is no longer visible within your app.
toDiagnosticsNode ({String ? name , DiagnosticsTreeStyle ? style })
→ DiagnosticsNode
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep .
inherited
toString ({DiagnosticLevel minLevel = DiagnosticLevel.info })
→ String
A string representation of this object.
inherited
toStringDeep ({String prefixLineOne = '' , String ? prefixOtherLines , DiagnosticLevel minLevel = DiagnosticLevel.debug , int wrapWidth = 65 })
→ String
Returns a string representation of this node and its descendants.
inherited
toStringShallow ({String joiner = ', ' , DiagnosticLevel minLevel = DiagnosticLevel.debug })
→ String
Returns a one-line detailed description of the object.
inherited
toStringShort ()
→ String
A short, textual description of this widget.
inherited