copyWith method

WeekIndicatorStyle copyWith({
  1. String? tooltip,
  2. Decoration? decoration,
  3. EdgeInsetsGeometry? padding,
  4. TextStyle? textStyle,
  5. List<String>? labels,
})

Implementation

WeekIndicatorStyle copyWith({
  String? tooltip,
  Decoration? decoration,
  EdgeInsetsGeometry? padding,
  TextStyle? textStyle,
  List<String>? labels,
}) {
  return WeekIndicatorStyle.raw(
    tooltip: tooltip ?? this.tooltip,
    decoration: decoration ?? this.decoration,
    padding: padding ?? this.padding,
    textStyle: textStyle ?? this.textStyle,
    labels: labels ?? this.labels,
  );
}