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. Widget dateBuilder(
    1. int date
    )?,
  8. int? time,
  9. required bool isBeforeHeader,
  10. String? chosenValue,
})

Implementation

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