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

const BitBuilder<M, V, L, B extends BitControl<M, V, L>>({
  1. Key? key,
  2. Widget onLoading(
    1. B bit,
    2. L? loading
    )?,
  3. Widget onError(
    1. B bit,
    2. dynamic error
    )?,
  4. required Widget onData(
    1. B bit,
    2. M data
    ),
  5. bool small = false,
})

Implementation

const BitBuilder(
    {super.key,
    this.onLoading,
    this.onError,
    required this.onData,
    this.small = false});