PaddedTimePicker constructor

const PaddedTimePicker({
  1. Key? key,
  2. Color accentColor = Colors.white,
  3. Color backgroundColor = Colors.black,
  4. Color textColor = Colors.white,
  5. Color selectedBackgroundColor = Colors.white24,
  6. ValueChanged<DateTime>? onTimeChanged,
  7. bool fullWidth = true,
  8. double horizontalPadding = 16.0,
})

Implementation

const PaddedTimePicker({
  super.key,
  this.accentColor = Colors.white,
  this.backgroundColor = Colors.black,
  this.textColor = Colors.white,
  this.selectedBackgroundColor = Colors.white24,
  this.onTimeChanged,
  this.fullWidth = true,
  this.horizontalPadding = 16.0,
});