ShortcutButton constructor

const ShortcutButton({
  1. Key? key,
  2. @required Widget? title,
  3. @required dynamic onTap()?,
  4. dynamic onLongTap()?,
  5. Widget? badge,
  6. String? tooltip,
  7. bool? disabled = false,
  8. double? size,
  9. double? elevation = 0,
  10. Color? backgroundColor,
  11. Color? borderColor,
  12. double? radius = 5.0,
  13. Widget? icon,
})

Implementation

const ShortcutButton(
    {Key? key,
    @required this.title,
    @required this.onTap,
    this.onLongTap,
    this.badge,
    this.tooltip,
    this.disabled = false,
    this.size,
    this.elevation = 0,
    this.backgroundColor,
    this.borderColor,
    this.radius = 5.0,
    this.icon})
    : super(key: key);