ReadonlySignalProvider<T>.value constructor

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

Pass a ReadonlySignal by value to provide in a widget tree

Implementation

const ReadonlySignalProvider.value({
  super.key,
  required super.child,
  required super.value,
}) : super.value();