GNTimeSelect constructor

const GNTimeSelect({
  1. Key? key,
  2. String? labelText,
  3. String? hintText,
  4. Color? filledColor,
  5. Color? textColor,
  6. Color? iconColor,
  7. Color? borderColor,
  8. bool? isShowCancelIcon,
  9. String? emptyValidationMessage,
  10. EdgeInsetsGeometry? contentPadding,
  11. bool? isRequired,
  12. bool isInitialDate = true,
  13. required TextEditingController controller,
  14. void onTimeSelected(
    1. TimeOfDay? time
    )?,
})

Implementation

const GNTimeSelect({
  super.key,
  this.labelText,
  this.hintText,
  this.filledColor,
  this.textColor,
  this.iconColor,
  this.borderColor,
  this.isShowCancelIcon,
  this.emptyValidationMessage,
  this.contentPadding,
  this.isRequired,
  this.isInitialDate=true,
  required this.controller,
  this.onTimeSelected,
});