ForMenu static method

dynamic ForMenu({
  1. String? label = "Inserisci Label",
  2. double? widthBTN = 250,
  3. double? heightBTN = 50,
  4. dynamic onPressed()?,
  5. Color? colorBorder = Colors.greenAccent,
  6. double? widthBorder = 2,
  7. Color? colorBackGround,
  8. Color? labelColor = Colors.greenAccent,
  9. TextAlign? textAlignLabel = TextAlign.center,
  10. 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 XBtnbaseForTheme.onlyBorderAndLabel(
    widthBTN: 250,
    heightBTN: heightBTN,
    labelColor: labelColor,
    colorBorder: colorBorder,
    onPressed: onPressed,
    colorBackGround: colorBackGround,
    label: label,
  );
}