BaseDialogAction constructor

const BaseDialogAction({
  1. Key? key,
  2. VoidCallback? onPressed,
  3. bool isDefaultAction = false,
  4. bool isDestructiveAction = false,
  5. TextStyle? textStyle,
  6. Widget? child,
  7. Clip clipBehavior = Clip.none,
  8. FocusNode? focusNode,
  9. bool autofocus = false,
  10. ButtonStyle? style,
  11. VoidCallback? onLongPress,
  12. bool enableLiquidGlass = true,
  13. bool adaptiveInteraction = true,
  14. bool hapticFeedback = true,
  15. BaseDialogActionType buttonType = BaseDialogActionType.text,
  16. 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);