BitBuildProvider<M, V, L, B extends BitControl<M, V, L>> constructor

const BitBuildProvider<M, V, L, B extends BitControl<M, V, L>>({
  1. Key? key,
  2. B? value,
  3. Widget onLoading(
    1. B bit,
    2. L? loading
    )?,
  4. Widget onError(
    1. B bit,
    2. dynamic error
    )?,
  5. required Widget onData(
    1. B bit,
    2. M data
    ),
  6. required B create(
    1. BuildContext context
    )?,
})

Implementation

const BitBuildProvider(
    {super.key,
    this.value,
    this.onLoading,
    this.onError,
    required this.onData,
    required this.create});