MUISecondaryOutlinedButton constructor

const MUISecondaryOutlinedButton({
  1. Key? key,
  2. required String text,
  3. required VoidCallback onPressed,
  4. required Color bgColor,
  5. Color borderColor = Colors.grey,
  6. double borderWidth = 1.5,
  7. Color textColor = Colors.black,
  8. double borderRadius = 10,
  9. bool hapticsEnabled = false,
  10. int animationDuration = 250,
  11. double maxHorizontalPadding = 50,
  12. IconData? leadingIcon,
  13. IconData? actionIcon,
  14. Color iconColor = Colors.black,
  15. List<BoxShadow>? boxShadows,
})

Implementation

const MUISecondaryOutlinedButton({
  super.key,
  required this.text,
  required this.onPressed,
  required this.bgColor,
  this.borderColor = Colors.grey,
  this.borderWidth = 1.5,
  this.textColor = Colors.black,
  this.borderRadius = 10,
  this.hapticsEnabled = false,
  this.animationDuration = 250,
  this.maxHorizontalPadding = 50,
  this.leadingIcon,
  this.actionIcon,
  this.iconColor = Colors.black,
  this.boxShadows,
});