WidgetRef class
A reference scoped to the widget passed from ScopedWidget.build or Scoped.builder.
RefHasApp, RefHasPage and RefHasWidget are implemented to manage state for the scopes app, page and widget.
ScopedWidget.buildやScoped.builderから渡されるウィジェットにスコープしたリファレンス。
RefHasAppとRefHasPage、RefHasWidgetを実装しておりappとpage、widgetのスコープに対して状態を管理できます。
- Implemented types
- Implementers
- Available extensions
- MasamuneChangeNotifierScopedValueRefExtensions
- MasamuneControllerRefHasAppExtensions
- MasamuneFormRefHasPageExtensions
- MasamuneModelRefHasAppExtensions
- MasamuneRouterRefHasPageExtensions
- RefHasAppQueryExtensions
- RefHasPageCacheExtensions
- RefHasPageFetchExtensions
- RefHasPageFutureExtensions
- RefHasPageOnExtensions
- RefHasPagePeriodicExtensions
- RefHasPageRefreshExtensions
- RefHasPageScheduleExtensions
- RefHasPageTimerExtensions
- RefHasPageWatchExtensions
- Annotations
Properties
- app → AppScopedValueRef
-
Ref in the application scope.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- page → PageScopedValueRef
-
Ref in the page scope.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- widget → WidgetScopedValueRef
-
Ref in the widget scope.
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited