FileExplorerPlugin class
A plugin for device preview that allows to explore the local file system of the application.
An instance should be provided the the plugins constructor property of a DevicePreview.
- Inheritance
-
- Object
- DevicePreviewPlugin
- FileExplorerPlugin
Constructors
- FileExplorerPlugin()
-
Create the file explorer plugin.
const
Properties
- builder → DevicePreviewPluginWidgetBuilder?
-
The window content builder.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData
-
The icon of the plugin that is displayed in the button and the window name.
finalinherited
- identifier → String
-
The unique identifier of the plugin.
finalinherited
- name → String
-
The name of the plugin that is displayed in the button and the window name.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- windowSize → Size
-
The size of the window that is opened when the user taps on the plugin button
from the toolbar.
finalinherited
Methods
-
build(
BuildContext context) → Widget -
Build the window content by observing the plugin's data in storage and
calling buildData.
inherited
-
buildData(
BuildContext context, Map< String, dynamic> data, DevicePreviewPluginDataUpdater updateData) → Widget -
Build the window content with the given plugin's
data
and theupdateData
method that saves new data and triggers a new build.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