PageScopedValueRefAncestorExtensions extension

Provides an extension method for PageOrWidgetScopedValueRef to retrieve a ScopedValue that already exists in the page or widget scope.

ページスコープやウィジェットスコープにすでに存在しているScopedValueの取得を行うためのPageOrWidgetScopedValueRef用の拡張メソッドを提供します。

on

Methods

fetch<T>([Object? name]) → T

Available on PageOrWidgetScopedValueRef, provided by the PageScopedValueRefAncestorExtensions extension

This is used to retrieve a ScopedValue already registered in watch or cache with the widget below it, etc.