BitProvider<B extends BitControl> constructor

const BitProvider<B extends BitControl>({
  1. Key? key,
  2. required B create(
    1. BuildContext context
    ),
  3. required Widget? child,
})

Implementation

const BitProvider(
    {super.key,
    required B Function(BuildContext context) this.create,
    required this.child})
    : value = null;