OverlayButtonWidget constructor

const OverlayButtonWidget({
  1. Key? key,
  2. required Alignment alignment,
  3. EdgeInsets? padding,
  4. required void onPressed(
    1. BuildContext
    ),
  5. void onLongPressed(
    1. BuildContext
    )?,
  6. required IconData icon,
  7. bool enabled = true,
  8. String? tooltip,
  9. bool safeBottom = false,
  10. bool safeRight = false,
})

Implementation

const OverlayButtonWidget({
  super.key,
  required this.alignment,
  this.padding,
  required this.onPressed,
  this.onLongPressed,
  required this.icon,
  this.enabled = true,
  this.tooltip,
  this.safeBottom = false,
  this.safeRight = false,
});