FmvvmState<T extends StatefulWidget, V extends BindableBase> constructor
FmvvmState<T extends StatefulWidget, V extends BindableBase> (
- V _bindableBase,
Creates the FmvvmState object.
_viewModel is the view model to be used.
_isNavigable should be true if this widget will be treated like a page instead of part
of a page.
Implementation
FmvvmState(this._bindableBase, this._isNavigable) {
if (_bindableBase is! ViewModel && _isNavigable) {
throw ArgumentError("Navigable state objects must be of type ViewModel");
}
}