value<T extends Object> static method
IScope<T>
value<T extends Object>({
- required T value,
- TransitionBuilder? builder,
- Widget? child,
- UpdateShouldNotify<
T> ? shouldNotify, - Key? key,
Expose to its descendants an existing value,
Implementation
@factory
static IScope<T> value<T extends Object>({
required T value,
TransitionBuilder? builder,
Widget? child,
UpdateShouldNotify<T>? shouldNotify,
Key? key,
}) =>
ValueScope<T>(
value,
builder,
child,
shouldNotify,
key,
);