AppToggle constructor

const AppToggle({
  1. Key? key,
  2. required bool state,
  3. required dynamic onChanged(
    1. bool
    ),
})

Implementation

const AppToggle({super.key, required this.state, required this.onChanged});