ForMenu static method
dynamic
ForMenu({
- String? label = "Inserisci Label",
- double? widthBTN = 250,
- double? heightBTN = 50,
- dynamic onPressed()?,
- Color? colorBorder = Colors.greenAccent,
- double? widthBorder = 2,
- Color? colorBackGround,
- Color? labelColor = Colors.greenAccent,
- TextAlign? textAlignLabel = TextAlign.center,
- double? borderRadius = 5,
Implementation
static ForMenu({
String? label = "Inserisci Label",
double? widthBTN = 250,
double? heightBTN = 50,
Function()? onPressed,
Color? colorBorder = Colors.greenAccent,
double? widthBorder = 2,
Color? colorBackGround,
Color? labelColor = Colors.greenAccent,
TextAlign? textAlignLabel = TextAlign.center,
double? borderRadius = 5,
}) {
return XBtnbase.onlyBorderAndLabel(
widthBTN: 250,
heightBTN: heightBTN,
labelColor: labelColor,
colorBorder: colorBorder,
onPressed: onPressed,
colorBackGround: colorBackGround,
label: label,
);
}