TimePickerThemeData constructor Null safety

const TimePickerThemeData(
  1. {Color? backgroundColor,
  2. Color? hourMinuteTextColor,
  3. Color? hourMinuteColor,
  4. Color? dayPeriodTextColor,
  5. Color? dayPeriodColor,
  6. Color? dialHandColor,
  7. Color? dialBackgroundColor,
  8. Color? dialTextColor,
  9. Color? entryModeIconColor,
  10. TextStyle? hourMinuteTextStyle,
  11. TextStyle? dayPeriodTextStyle,
  12. TextStyle? helpTextStyle,
  13. ShapeBorder? shape,
  14. ShapeBorder? hourMinuteShape,
  15. OutlinedBorder? dayPeriodShape,
  16. BorderSide? dayPeriodBorderSide,
  17. InputDecorationTheme? inputDecorationTheme}
)

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

Implementation

const TimePickerThemeData({
  this.backgroundColor,
  this.hourMinuteTextColor,
  this.hourMinuteColor,
  this.dayPeriodTextColor,
  this.dayPeriodColor,
  this.dialHandColor,
  this.dialBackgroundColor,
  this.dialTextColor,
  this.entryModeIconColor,
  this.hourMinuteTextStyle,
  this.dayPeriodTextStyle,
  this.helpTextStyle,
  this.shape,
  this.hourMinuteShape,
  this.dayPeriodShape,
  this.dayPeriodBorderSide,
  this.inputDecorationTheme,
});