TimePickerThemeData constructor
- Color? backgroundColor,
- ButtonStyle? cancelButtonStyle,
- ButtonStyle? confirmButtonStyle,
- BorderSide? dayPeriodBorderSide,
- Color? dayPeriodColor,
- OutlinedBorder? dayPeriodShape,
- Color? dayPeriodTextColor,
- TextStyle? dayPeriodTextStyle,
- Color? dialBackgroundColor,
- Color? dialHandColor,
- Color? dialTextColor,
- TextStyle? dialTextStyle,
- double? elevation,
- Color? entryModeIconColor,
- TextStyle? helpTextStyle,
- Color? hourMinuteColor,
- ShapeBorder? hourMinuteShape,
- Color? hourMinuteTextColor,
- TextStyle? hourMinuteTextStyle,
- InputDecorationTheme? inputDecorationTheme,
- EdgeInsetsGeometry? padding,
- ShapeBorder? shape,
- MaterialStateProperty<
Color?> ? timeSelectorSeparatorColor, - 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;