AdaptiveDialog constructor
const
AdaptiveDialog({
- Key? key,
- required ImageEditorDesignModeE designMode,
- required Widget title,
- required Widget content,
- required List<
AdaptiveDialogAction> actions, - required Brightness brightness,
- required ImageEditorTheme imageEditorTheme,
Creates an AdaptiveDialog.
The designMode
determines the appearance of the dialog.
The title
and content
are required widgets to display in the dialog.
The actions
is a list of AdaptiveDialogAction widgets to include as buttons.
The brightness
controls the brightness of the dialog.
The imageEditorTheme
is the theme specific to the image editor.
Implementation
const AdaptiveDialog({
super.key,
required this.designMode,
required this.title,
required this.content,
required this.actions,
required this.brightness,
required this.imageEditorTheme,
});