DropDownWidget constructor

DropDownWidget({
  1. Key? key,
  2. required String name,
  3. required String id,
  4. required List<String> values,
  5. required String? description,
  6. required OnValueChanged? onValueChanged,
  7. required Function getUpdatedTime,
  8. String? chosenValue,
  9. required dynamic onTimeUpdated(
    1. int
    ),
  10. required Function getUpdatedValue,
  11. Widget dateBuilder(
    1. int date
    )?,
  12. int? time,
  13. required bool isBeforeHeader,
})

Implementation

DropDownWidget(
    {Key? key,
    required this.name,
    required this.id,
    required this.values,
    required this.description,
    required this.onValueChanged,
    required this.getUpdatedTime,
    this.chosenValue,
      required this.onTimeUpdated,
    required this.getUpdatedValue,
    this.dateBuilder,
    this.time,
    required this.isBeforeHeader})
    : super(key: key);