copyWith method
HoursColumnStyle
copyWith({
- TimeFormatter? timeFormatter,
- TextStyle? textStyle,
- double? width,
- Color? color,
- Decoration? decoration,
- Alignment? textAlignment,
- Duration? interval,
Allows to copy the current style instance with your own properties.
Implementation
HoursColumnStyle copyWith({
TimeFormatter? timeFormatter,
TextStyle? textStyle,
double? width,
Color? color,
Decoration? decoration,
Alignment? textAlignment,
Duration? interval,
}) =>
HoursColumnStyle(
timeFormatter: timeFormatter ?? this.timeFormatter,
textStyle: textStyle ?? this.textStyle,
width: width ?? this.width,
color: color ?? this.color,
decoration: decoration ?? this.decoration,
textAlignment: textAlignment ?? this.textAlignment,
interval: interval ?? this.interval,
);