ContentsPlugin class
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 the updateData
method that saves new data and triggers a new build.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited