AdaptiveDialogAction constructor

const AdaptiveDialogAction({
  1. Key? key,
  2. required dynamic onPressed(),
  3. required Widget child,
  4. 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,
});