Toggle constructor

Toggle({
  1. Key? key,
  2. required String name,
  3. required String id,
  4. required List<String> values,
  5. required OnValueChanged onValueChanged,
  6. String? description,
  7. required bool isBeforeHeader,
  8. int? chosenValue,
})

Implementation

Toggle(
    {Key? key,
    required this.name,
    required this.id,
    required this.values,
    required this.onValueChanged,
    this.description,
    required this.isBeforeHeader,
    this.chosenValue})
    : super(key: key);