ClueTimePeriodButton constructor

const ClueTimePeriodButton({
  1. Key? key,
  2. required TimeOfDay initValue,
  3. required void onChanged(
    1. TimeOfDay value
    ),
  4. Color? borderColor,
  5. required String timePeriodStatus,
})

Creates a ClueTimePeriodButton.

initValue is the initial time value. onChanged is the callback function when the time changes. borderColor is the border color of the dropdown buttons. timePeriodStatus is the status of the time period.

Implementation

const ClueTimePeriodButton({
  super.key,
  required this.initValue,
  required this.onChanged,
  this.borderColor,
  required this.timePeriodStatus,
});