AssistActionButton constructor

const AssistActionButton({
  1. Widget? child,
  2. String? tooltip,
  3. Color? foregroundColor,
  4. Color? backgroundColor,
  5. Color? focusColor,
  6. Color? hoverColor,
  7. Color? splashColor,
  8. double? elevation,
  9. double? focusElevation,
  10. double? hoverElevation,
  11. double? highlightElevation,
  12. MouseCursor? mouseCursor,
  13. ShapeBorder? shape,
  14. EdgeInsetsGeometry padding = const EdgeInsetsDirectional.only(start: 8.0),
  15. Size size = const Size.square(40.0),
  16. required ValueChanged<String>? onPressed,
})

Creates a AssistActionButton with the given parameters.

Implementation

const AssistActionButton({
  this.child,
  this.tooltip,
  this.foregroundColor,
  this.backgroundColor,
  this.focusColor,
  this.hoverColor,
  this.splashColor,
  this.elevation,
  this.focusElevation,
  this.hoverElevation,
  this.highlightElevation,
  this.mouseCursor,
  this.shape,
  this.padding = const EdgeInsetsDirectional.only(start: 8.0),
  this.size = const Size.square(40.0),
  required this.onPressed,
});