SpeedExWidget<T> constructor

const SpeedExWidget<T>({
  1. Key? key,
  2. required String stateKey,
  3. required Widget builder(
    1. BuildContext context,
    2. T? value
    ),
  4. T? initialValue,
  5. bool persist = false,
  6. bool listenToAll = false,
})

Creates a SpeedExWidget.

The stateKey and builder parameters are required.

Implementation

const SpeedExWidget({
  Key? key,
  required this.stateKey,
  required this.builder,
  this.initialValue,
  this.persist = false,
  this.listenToAll = false,
}) : super(key: key);