FlutterFolderViewTheme class

Master theme class for the entire FolderView component

This class provides a centralized way to customize the appearance of FolderView widgets. Currently supports line theming, with the architecture designed to easily add more theme properties in the future (e.g., nodeTheme, textTheme, iconTheme, animationTheme, etc.).

Annotations

Constructors

FlutterFolderViewTheme({required FolderViewLineTheme lineTheme, required FolderViewScrollbarTheme scrollbarTheme, FolderViewTextTheme textTheme = const FolderViewTextTheme(), FolderViewIconTheme iconTheme = const FolderViewIconTheme(), FolderViewSpacingTheme spacingTheme = const FolderViewSpacingTheme(), FolderViewNodeStyleTheme nodeStyleTheme = const FolderViewNodeStyleTheme()})
Creates a FlutterFolderViewTheme with the given properties
const
FlutterFolderViewTheme.dark()
Creates a dark theme with sensible defaults
factory
FlutterFolderViewTheme.light()
Creates a light theme with sensible defaults
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
iconTheme FolderViewIconTheme
Theme for icons
final
lineTheme FolderViewLineTheme
Theme for connection lines between nodes
final
nodeStyleTheme FolderViewNodeStyleTheme
Theme for node visual styling
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollbarTheme FolderViewScrollbarTheme
Theme for scrollbars
final
spacingTheme FolderViewSpacingTheme
Theme for spacing and padding
final
textTheme FolderViewTextTheme
Theme for text styles
final

Methods

copyWith({FolderViewLineTheme? lineTheme, FolderViewScrollbarTheme? scrollbarTheme, FolderViewTextTheme? textTheme, FolderViewIconTheme? iconTheme, FolderViewSpacingTheme? spacingTheme, FolderViewNodeStyleTheme? nodeStyleTheme}) FlutterFolderViewTheme
Creates a copy of this theme with the given fields replaced with new values
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

lerp(FlutterFolderViewTheme? a, FlutterFolderViewTheme? b, double t) FlutterFolderViewTheme
Linearly interpolate between two FlutterFolderViewThemes