copyWith method

FlutterFolderViewTheme copyWith({
  1. FolderViewLineTheme? lineTheme,
  2. FolderViewScrollbarTheme? scrollbarTheme,
  3. FolderViewTextTheme? textTheme,
  4. FolderViewIconTheme? iconTheme,
  5. FolderViewSpacingTheme? spacingTheme,
  6. 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,
  );
}