TimePickerThemeData constructor

const TimePickerThemeData({
  1. Color? backgroundColor,
  2. ButtonStyle? cancelButtonStyle,
  3. ButtonStyle? confirmButtonStyle,
  4. BorderSide? dayPeriodBorderSide,
  5. Color? dayPeriodColor,
  6. OutlinedBorder? dayPeriodShape,
  7. Color? dayPeriodTextColor,
  8. TextStyle? dayPeriodTextStyle,
  9. Color? dialBackgroundColor,
  10. Color? dialHandColor,
  11. Color? dialTextColor,
  12. TextStyle? dialTextStyle,
  13. double? elevation,
  14. Color? entryModeIconColor,
  15. TextStyle? helpTextStyle,
  16. Color? hourMinuteColor,
  17. ShapeBorder? hourMinuteShape,
  18. Color? hourMinuteTextColor,
  19. TextStyle? hourMinuteTextStyle,
  20. InputDecorationTheme? inputDecorationTheme,
  21. EdgeInsetsGeometry? padding,
  22. ShapeBorder? shape,
  23. MaterialStateProperty<Color?>? timeSelectorSeparatorColor,
  24. MaterialStateProperty<TextStyle?>? timeSelectorSeparatorTextStyle,
})

Creates a theme that can be used for TimePickerTheme or ThemeData.timePickerTheme.

Implementation

const TimePickerThemeData({
  this.backgroundColor,
  this.cancelButtonStyle,
  this.confirmButtonStyle,
  this.dayPeriodBorderSide,
  Color? dayPeriodColor,
  this.dayPeriodShape,
  this.dayPeriodTextColor,
  this.dayPeriodTextStyle,
  this.dialBackgroundColor,
  this.dialHandColor,
  this.dialTextColor,
  this.dialTextStyle,
  this.elevation,
  this.entryModeIconColor,
  this.helpTextStyle,
  this.hourMinuteColor,
  this.hourMinuteShape,
  this.hourMinuteTextColor,
  this.hourMinuteTextStyle,
  this.inputDecorationTheme,
  this.padding,
  this.shape,
  this.timeSelectorSeparatorColor,
  this.timeSelectorSeparatorTextStyle,
}) : _dayPeriodColor = dayPeriodColor;