copyWith method
Creates a copy of this theme with the given fields replaced with new values
Implementation
FolderViewIconTheme copyWith({
double? iconSize,
Color? iconColor,
Color? selectedIconColor,
IconData? folderIcon,
IconData? folderOpenIcon,
IconData? parentIcon,
IconData? parentOpenIcon,
IconData? childIcon,
IconData? expandIcon,
}) {
return FolderViewIconTheme(
iconSize: iconSize ?? this.iconSize,
iconColor: iconColor ?? this.iconColor,
selectedIconColor: selectedIconColor ?? this.selectedIconColor,
folderIcon: folderIcon ?? this.folderIcon,
folderOpenIcon: folderOpenIcon ?? this.folderOpenIcon,
parentIcon: parentIcon ?? this.parentIcon,
parentOpenIcon: parentOpenIcon ?? this.parentOpenIcon,
childIcon: childIcon ?? this.childIcon,
expandIcon: expandIcon ?? this.expandIcon,
);
}