FilesystemListTile class
A single row displaying a folder or file, the corresponding icon and the trailing
selection button for the file (configured in the fileTileSelectMode
parameter).
Used in conjunction with the FilesystemList
widget.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- FilesystemListTile
Constructors
-
FilesystemListTile({Key? key, FilesystemType fsType = FilesystemType.all, required FileSystemEntity item, Color? folderIconColor, required ValueChanged<
Directory> onChange, required ValueSelected onSelect, required FileTileSelectMode fileTileSelectMode, FilesystemPickerFileListThemeData? theme, bool caseSensitiveFileExtensionComparison = false}) -
Creates a file system entity list tile.
const
Properties
- caseSensitiveFileExtensionComparison → bool
-
Specifies the extension comparison mode to determine the icon specified for the file types in the theme,
case-sensitive or case-insensitive, by default it is insensitive.
final
- fileTileSelectMode → FileTileSelectMode
-
Specifies how to files can be selected (either tapping on the whole tile or only on trailing button).
final
- folderIconColor → Color?
-
The color of the folder icon in the list.
final
- fsType → FilesystemType
-
The type of view (folder and files, folder only or files only), by default
FilesystemType.all
.final - hashCode → int
-
The hash code for this object.
no setterinherited
- item → FileSystemEntity
-
The entity of the file system that should be displayed by the widget.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
onChange
→ ValueChanged<
Directory> -
Called when the user has touched a subfolder list item.
final
- onSelect → ValueSelected
-
Called when a file system item is selected.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- theme → FilesystemPickerFileListThemeData?
-
Specifies a list theme in which colors, fonts, icons, etc. can be customized.
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of
DiagnosticsNode
objects describing this node's children.inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited