FileStyle class

Defines customizable styling options for file elements in the directory tree.

Constructors

FileStyle({TextStyle? fileNameStyle = const TextStyle(), dynamic fileIcon = const Icon(Icons.insert_drive_file), dynamic iconForDeleteFile = const Icon(Icons.delete)})
Constructs a FileStyle with customizable icons and text styles.

Properties

fileIcon → dynamic
Default file icon. Applied when no custom icon is provided via fileIconBuilder.
final
fileNameStyle TextStyle?
TextStyle for file tile title.
final
hashCode int
The hash code for this object.
no setterinherited
iconForDeleteFile → dynamic
Icon for delete button if it is enabled.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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