DynamicButton constructor
const
DynamicButton({
- Key? key,
- bool? selected = false,
- bool enabled = true,
- String style = "Stadium",
- String? title = "",
- String? styleTitle = "",
- String? tooltip,
- Widget? icon,
- Widget? end,
- Color? textColor,
- Color? iconColor,
- TextStyle? textStyle,
- Color? backColor,
- Color? hoverColor,
- Color? pressColor,
- Color? outlineColor,
- Color? shadowColor,
- double elevation = 2.0,
- double paddingH = 10.0,
- double paddingV = 10.0,
- VoidCallback? onTap,
- VoidCallback? onLongTap,
Implementation
const DynamicButton({Key? key,
// this.colorTextAuto = false,
this.selected = false,
this.enabled = true,
this.style = "Stadium", /// Stadium // Rectangle // Circle // Beveled
this.title = "",
this.styleTitle = "",
this.tooltip, // null
this.icon, // = null,
this.end, // = null,
this.textColor,
this.iconColor,
this.textStyle,
this.backColor,
this.hoverColor,
this.pressColor,
this.outlineColor,
this.shadowColor,
this.elevation = 2.0,
this.paddingH = 10.0,
this.paddingV = 10.0, // Border Size
this.onTap,
this.onLongTap,
}) : super(key: key);