ReadonlySignalProvider<T> constructor

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

Create a new ReadonlySignal by value to provide in a widget tree

Implementation

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