AppSwitch constructor

const AppSwitch({
  1. Key? key,
  2. required FieldCubit<bool> cubit,
  3. required String label,
})

Implementation

const AppSwitch({super.key, required this.cubit, required this.label});