TimeButton constructor

const TimeButton({
  1. Key? key,
  2. required String time,
  3. required Function onSelect,
  4. bool value = false,
  5. Color? borderColor,
  6. Color? activeBorderColor,
  7. Color? backgroundColor,
  8. Color? activeBackgroundColor,
  9. TextStyle? textStyle,
  10. TextStyle? activeTextStyle,
})

Implementation

const TimeButton(
    {Key? key,
    required this.time,
    required this.onSelect,
    this.value = false,
    this.borderColor,
    this.activeBorderColor,
    this.backgroundColor,
    this.activeBackgroundColor,
    this.textStyle,
    this.activeTextStyle})
    : super(key: key);