InheritedSignalProvider<T, S extends ReadonlySignal<T>>.value constructor

const InheritedSignalProvider<T, S extends ReadonlySignal<T>>.value({
  1. Key? key,
  2. required S value,
  3. required Widget child,
})

Pass a ReadonlySignal and provide it in the tree

Implementation

const InheritedSignalProvider.value({
  super.key,
  required S value,
  required super.child,
}) : instance = value;