copyWith method

SignalProvider<T> copyWith(
  1. Widget child
)

Returns a clone of this SignalProvider with a new child widget. Used internally by MultiSignalProvider.

Implementation

SignalProvider<T> copyWith(Widget child) {
  return SignalProvider<T>._(
    key: key,
    create: _create,
    value: _value,
    dispose: dispose,
    child: child,
  );
}