ControllerQueryBase<TController extends Listenable> class abstract

Base class for creating state-to-state usage queries for controllers that are code-generated by the builder.

Basically, you can get a class that inherits from ChangeNotifier.

ビルダーによりコード生成するコントローラーの状態間利用クエリを作成するためのベースクラス。

基本的にはChangeNotifierを継承したクラスを取得することが出来ます。

Inheritance
Available extensions

Constructors

ControllerQueryBase()
Base class for creating state-to-state usage queries for controllers 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 → TController 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) → TController 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
read(AppRef ref) → TController

Available on ControllerQueryBase<TController>, provided by the ControllerQueryBaseExtensions extension

Get TController stored in ref in the same way as ref.app.controller.
toString() String
A string representation of this object.
inherited
watch(RefHasApp ref) → TController

Available on ControllerQueryBase<TController>, provided by the ControllerQueryBaseExtensions extension

Get TController while monitoring with widgets related to ref in the same way as ref.app.controller.
watchOnApp(RefHasApp ref) → TController

Available on ControllerQueryBase<TController>, provided by the ControllerQueryBaseExtensions extension

Operators

operator ==(Object other) bool
The equality operator.
inherited