AButtonWithMenu constructor
const
AButtonWithMenu({
- Key? key,
- String? text,
- String? textTitle,
- IconData? icon,
- bool disabled = false,
- bool loading = false,
- Color? color,
- bool upperCase = true,
- Color? borderColor,
- double? borderRadius,
- double fontSize = 12,
- double iconSize = 18,
- FontWeight? fontWeight,
- double? height,
- double? width,
- double elevation = 2,
- IconData? landingIcon,
- Widget? landingImage,
- IconData? trailingIcon,
- EdgeInsets padding = const EdgeInsets.all(10),
- Color? textColor,
- bool outlined = false,
- MainAxisAlignment rowAlignment = MainAxisAlignment.center,
- bool singleLine = false,
- bool expanded = false,
- Widget? suffixChip,
- EdgeInsets margin = EdgeInsets.zero,
- bool persistent = false,
Implementation
const AButtonWithMenu({
super.key,
super.text,
super.textTitle,
super.icon,
super.disabled = false,
super.loading = false,
super.color,
super.upperCase = true,
super.borderColor,
super.borderRadius,
super.fontSize = 12,
super.iconSize = 18,
super.fontWeight,
super.height,
super.width,
super.elevation = 2,
super.landingIcon,
super.landingImage,
super.trailingIcon,
super.padding = const EdgeInsets.all(10),
super.textColor,
super.outlined = false,
super.rowAlignment = MainAxisAlignment.center,
super.singleLine = false,
super.expanded = false,
super.suffixChip,
super.margin,
required this.menu,
this.menuFooter,
this.persistent = false,
this.menuWidth,
this.menuHeight,
}) : super(
onPressed: null,
);