MEButton constructor

const MEButton({
  1. Key? key,
  2. IconData? icon,
  3. double verticalPadding = 14,
  4. double borderRadius = 6,
  5. Color? bgColor = primaryColor,
  6. Color? secondaryColor = Colors.white,
  7. required dynamic onTap(),
  8. String label = "",
})

Implementation

const MEButton(
    {Key? key,
    this.icon,
    this.verticalPadding = 14,
    this.borderRadius = 6,
    this.bgColor = primaryColor,
    this.secondaryColor = Colors.white,
    required this.onTap,
    this.label = ""})
    : super(key: key);