FilesystemPickerFileListFileTypesTheme class
An object that defines a set of icons for file types by extensions in the picker file list. Used in FilesystemPickerFileListThemeData.
- Inheritance
-
- Object
- FilesystemPickerFileListFileTypesThemeBase
- FilesystemPickerFileListFileTypesTheme
- Annotations
Constructors
-
FilesystemPickerFileListFileTypesTheme(List<
FilesystemPickerFileListFileTypesThemeItem> types) -
Creates a set of icon definitions for file types.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
types
→ List<
FilesystemPickerFileListFileTypesThemeItem> -
A list of icon definitions for file types.
final
Methods
-
match(
String extension, {bool caseSensitive = false}) → FilesystemPickerFileListFileTypesThemeItem? -
Returns a description object FilesystemPickerFileListFileTypesThemeItem for the passed
extension
if a description is found for it in the current set.override -
merge(
FilesystemPickerFileListFileTypesThemeBase? base) → FilesystemPickerFileListFileTypesThemeBase -
Returns a new set that combines descriptions for extensions with those passed as a parameter.
override
-
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
Constants
- defaultFileTypes → const FilesystemPickerFileListFileTypesTheme
- Default icons for image files (jpeg, jpg, png) and databases (db, sqlite, sqlite3).