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

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

Implementation

const BitNotifier(
    {super.key,
    this.onLoading,
    this.onError,
    this.onData,
    required this.child});