FilesystemPickerAutoSystemTheme class
Defines a theme for the FilesystemPicker
, which adapts to the light or dark
theme of the application.
- Implemented types
- Mixed in types
- Annotations
Constructors
- FilesystemPickerAutoSystemTheme({bool inherit = _kDefaultInherit, FilesystemPickerTheme? lightTheme, FilesystemPickerTheme? darkTheme})
-
Create an adaptive theme that can be used to customize the
FilesystemPicker
presentationconst
Properties
- darkTheme → FilesystemPickerTheme?
-
Specifies the dark theme for the
FilesystemPicker
.final - hashCode → int
-
The hash code for this object.
no setterinherited
- inherit → bool
-
Whether to use unspecified values from
FilesystemPickerDefaultOptions
.final - lightTheme → FilesystemPickerTheme?
-
Specifies the light theme for the
FilesystemPicker
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
getBackgroundColor(
BuildContext context, [Color? color]) → Color -
See FilesystemPickerTheme.getBackgroundColor.
override
-
getBrightness(
BuildContext context) → Brightness -
getContextActions(
BuildContext context) → FilesystemPickerContextActionsThemeData -
override
-
getEffectiveTheme(
BuildContext context) → FilesystemPickerThemeBase -
getFileList(
BuildContext context) → FilesystemPickerFileListThemeData -
See FilesystemPickerTheme.getFileList.
override
-
getMessageTextStyle(
BuildContext context) → TextStyle -
See FilesystemPickerTheme.getMessageTextStyle.
override
-
getPickerAction(
BuildContext context) → FilesystemPickerActionThemeData -
See FilesystemPickerTheme.getPickerAction.
override
-
getTopBar(
BuildContext context) → FilesystemPickerTopBarThemeData -
See FilesystemPickerTheme.getTopBar.
override
-
merge(
BuildContext context, FilesystemPickerThemeBase? base) → FilesystemPickerThemeBase -
See FilesystemPickerTheme.merge.
override
-
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
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited