FolderStyle class
Defines customizable styling options for folder elements in the directory tree.
Constructors
- FolderStyle({double itemGap = 15, dynamic rootFolderClosedIcon = const Icon(Icons.chevron_right_sharp), dynamic rootFolderOpenedIcon = const Icon(Icons.keyboard_arrow_down_sharp), TextStyle? folderNameStyle = const TextStyle(), dynamic iconForCreateFolder = const Icon(Icons.create_new_folder), dynamic iconForCreateFile = const Icon(FontAwesomeIcons.fileCirclePlus, size: 20), dynamic iconForDeleteFolder = const Icon(Icons.delete), dynamic folderClosedicon = const Icon(Icons.folder), dynamic folderOpenedicon = const Icon(Icons.folder_open)})
- Constructs a FolderStyle with customizable icons and text styles.
Properties
- folderClosedicon → dynamic
-
Icon displayed when the folder is closed.
final
- folderNameStyle → TextStyle?
-
Text style applied to folder names.
final
- folderOpenedicon → dynamic
-
Icon displayed when the folder is opened.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconForCreateFile → dynamic
-
Icon used for the "create new file" action within a folder.
final
- iconForCreateFolder → dynamic
-
Icon used for the "create new folder" action.
final
- iconForDeleteFolder → dynamic
-
Icon used for the "delete folder" action.
final
- itemGap → double
-
Gap between items.
final
- rootFolderClosedIcon → dynamic
-
Icon for root folder closed state.
final
- rootFolderOpenedIcon → dynamic
-
Icon for root folder open state.
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