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

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

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