copyWith method

FolderViewLineTheme copyWith({
  1. Color? lineColor,
  2. double? lineWidth,
  3. LineStyle? lineStyle,
})

Creates a copy of this theme with the given fields replaced with new values

Implementation

FolderViewLineTheme copyWith({
  Color? lineColor,
  double? lineWidth,
  LineStyle? lineStyle,
}) {
  return FolderViewLineTheme(
    lineColor: lineColor ?? this.lineColor,
    lineWidth: lineWidth ?? this.lineWidth,
    lineStyle: lineStyle ?? this.lineStyle,
  );
}