copyWith method

FolderViewSpacingTheme copyWith({
  1. EdgeInsets? contentPadding,
})

Creates a copy of this theme with the given fields replaced

Implementation

FolderViewSpacingTheme copyWith({EdgeInsets? contentPadding}) {
  return FolderViewSpacingTheme(
    contentPadding: contentPadding ?? this.contentPadding,
  );
}