CommandButton constructor
const
CommandButton({
- Key? key,
- @required Widget? title,
- @required dynamic onTap()?,
- dynamic onLongTap()?,
- String? tooltip,
- Widget? subtitle,
- bool? disabled = false,
- double? width,
- double? height,
- double? elevation = 0,
- bool? reverse = false,
- Color? backgroundColor,
- Color? borderColor,
- double? radius = 5.0,
- Widget? icon,
Implementation
const CommandButton(
{Key? key,
@required this.title,
@required this.onTap,
this.onLongTap,
this.tooltip,
this.subtitle,
this.disabled = false,
this.width,
this.height,
this.elevation = 0,
this.reverse = false,
this.backgroundColor,
this.borderColor,
this.radius = 5.0,
this.icon})
: super(key: key);