value<T extends Object> static method

  1. @factory
IScope<T> value<T extends Object>({
  1. required T value,
  2. TransitionBuilder? builder,
  3. Widget? child,
  4. UpdateShouldNotify<T>? shouldNotify,
  5. 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,
    );