FormControllerQueryBase<TModel> class
abstract
Base class for creating state-to-state usage queries for FormController that are code-generated by the builder.
Basically, you can get a class that inherits from ChangeNotifier.
ビルダーによりコード生成するFormControllerの状態間利用クエリを作成するためのベースクラス。
基本的にはChangeNotifierを継承したクラスを取得することが出来ます。
- Inheritance
-
- Object
- ScopedQueryBase<
FormController< TModel> , PageOrAppScopedValueOrAppRef> - ChangeNotifierScopedQueryBase<
FormController< TModel> , PageOrAppScopedValueOrAppRef> - FormControllerQueryBase
- Available extensions
Constructors
- FormControllerQueryBase()
-
Base class for creating state-to-state usage queries for FormController that are code-generated by the builder.
const
Properties
- autoDisposeWhenUnreferenced → bool
-
Returns
true
if ScopedQuery should be automatically discarded when it is no longer referenced by any widget.finalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- listen → bool
-
Returns
true
if the value is monitored for update notification.no setterinherited -
provider
→ FormController<
TModel> Function(QueryScopedValueRef<PageOrAppScopedValueOrAppRef> ref) -
A callback that returns the value you want to manage.
finalinherited
- queryName → Object
-
Returns a name to identify the state.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
QueryScopedValueRef< PageOrAppScopedValueOrAppRef> ref) → FormController<TModel> Function() -
Returns a callback that returns the value you want to manage.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
watch(
RefHasApp ref, {bool? autoDisposeWhenUnreferenced}) → FormController< TModel> -
Available on FormControllerQueryBase<
Get FormController<TModel> while monitoring it with the widget associated withTModel> , provided by the FormControllerQueryBaseExtensions extensionref
in the same way asref.page.controller
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited