globalRef<T> function
Creates a GlobalRefProvider.
See also Ref for more details.
The reference can be accessed using
ComponentContext.globalRef with the according
name
and type T
.
Implementation
DeactNode globalRef<T>({Object? key, required String name, T? initialValue, required Iterable<DeactNode> children}) {
return GlobalRefProviderComponent<T>._(key, name, initialValue, children);
}