copyWith method
DayBarStyle
copyWith({
- DateFormatter? dateFormatter,
- TextStyle? textStyle,
- Color? color,
- Decoration? decoration,
- Alignment? textAlignment,
Allows to copy the current style instance with your own properties.
Implementation
DayBarStyle copyWith({
DateFormatter? dateFormatter,
TextStyle? textStyle,
Color? color,
Decoration? decoration,
Alignment? textAlignment,
}) =>
DayBarStyle(
dateFormatter: dateFormatter ?? this.dateFormatter,
textStyle: textStyle ?? this.textStyle,
color: color ?? this.color,
decoration: decoration ?? this.decoration,
textAlignment: textAlignment ?? this.textAlignment,
);