AdaptiveDialogAction constructor
const
AdaptiveDialogAction({
- Key? key,
- required dynamic onPressed(),
- required Widget child,
- required ImageEditorDesignModeE designMode,
Creates an AdaptiveDialogAction.
The designMode
determines the appearance of the action button.
The onPressed
callback is executed when the button is pressed.
The child
widget is displayed as the action button.
Implementation
const AdaptiveDialogAction({
super.key,
required this.onPressed,
required this.child,
required this.designMode,
});