copyWith method
Creates a copy of this theme with the given fields replaced with new values
Implementation
FolderViewTextTheme copyWith({
TextStyle? textStyle,
TextStyle? selectedTextStyle,
TextStyle? folderTextStyle,
TextStyle? parentTextStyle,
TextStyle? childTextStyle,
}) {
return FolderViewTextTheme(
textStyle: textStyle ?? this.textStyle,
selectedTextStyle: selectedTextStyle ?? this.selectedTextStyle,
folderTextStyle: folderTextStyle ?? this.folderTextStyle,
parentTextStyle: parentTextStyle ?? this.parentTextStyle,
childTextStyle: childTextStyle ?? this.childTextStyle,
);
}