BaseDialogAction constructor
const
BaseDialogAction({
- Key? key,
- VoidCallback? onPressed,
- bool isDefaultAction = false,
- bool isDestructiveAction = false,
- TextStyle? textStyle,
- Widget? child,
- Clip clipBehavior = Clip.none,
- FocusNode? focusNode,
- bool autofocus = false,
- ButtonStyle? style,
- VoidCallback? onLongPress,
- bool enableLiquidGlass = true,
- bool adaptiveInteraction = true,
- bool hapticFeedback = true,
- BaseDialogActionType buttonType = BaseDialogActionType.text,
- BaseParam? baseParam,
Implementation
const BaseDialogAction({
Key? key,
this.onPressed,
this.isDefaultAction = false,
this.isDestructiveAction = false,
this.textStyle,
this.child,
this.clipBehavior = Clip.none,
this.focusNode,
this.autofocus = false,
this.style,
this.onLongPress,
// iOS 26 Liquid Glass Dynamic Material properties
this.enableLiquidGlass = true,
this.adaptiveInteraction = true,
this.hapticFeedback = true,
this.buttonType = BaseDialogActionType.text,
BaseParam? baseParam,
}) : super(key: key, baseParam: baseParam);