copyWith method
FlutterFolderViewTheme
copyWith({
- FolderViewLineTheme? lineTheme,
- FolderViewScrollbarTheme? scrollbarTheme,
- FolderViewTextTheme? textTheme,
- FolderViewIconTheme? iconTheme,
- FolderViewSpacingTheme? spacingTheme,
- FolderViewNodeStyleTheme? nodeStyleTheme,
Creates a copy of this theme with the given fields replaced with new values
Implementation
FlutterFolderViewTheme copyWith({
FolderViewLineTheme? lineTheme,
FolderViewScrollbarTheme? scrollbarTheme,
FolderViewTextTheme? textTheme,
FolderViewIconTheme? iconTheme,
FolderViewSpacingTheme? spacingTheme,
FolderViewNodeStyleTheme? nodeStyleTheme,
}) {
return FlutterFolderViewTheme(
lineTheme: lineTheme ?? this.lineTheme,
scrollbarTheme: scrollbarTheme ?? this.scrollbarTheme,
textTheme: textTheme ?? this.textTheme,
iconTheme: iconTheme ?? this.iconTheme,
spacingTheme: spacingTheme ?? this.spacingTheme,
nodeStyleTheme: nodeStyleTheme ?? this.nodeStyleTheme,
);
}