MUISecondaryOutlinedBlockButton constructor

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

Implementation

const MUISecondaryOutlinedBlockButton({
  super.key,
  required this.text,
  required this.onPressed,
  this.bgColor = Colors.transparent,
  this.textColor = Colors.black,
  this.borderColor = Colors.grey,
  this.tappedBgColor = Colors.grey,
  this.borderWidth = 2,
  this.borderRadius = 10,
  this.hapticsEnabled = false,
  this.animationDuration = 250,
  this.heightFactor = 0.05,
  this.leadingIcon,
  this.actionIcon,
  this.iconColor = Colors.black,
  this.widthFactor = 0.98,
  this.boxShadows,
});