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

BitNotifier<M, V, L, B extends BitControl<M, V, L>>.make({
  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

factory BitNotifier.make(
        {Key? key,
        Function(B bit, L? loading)? onLoading,
        Function(B bit, dynamic error)? onError,
        Function(B bit, M data)? onData,
        required Widget child}) =>
    BitNotifier(
        key: key,
        onLoading: onLoading,
        onError: onError,
        onData: onData,
        child: child);