SignalProvider<T> constructor

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

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

Implementation

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