MUISecondaryBlockButton constructor

const MUISecondaryBlockButton({
  1. Key? key,
  2. required String text,
  3. required VoidCallback onPressed,
  4. Color bgColor = const Color(0xff212123),
  5. Color tappedBgColor = const Color.fromARGB(255, 22, 22, 24),
  6. Color textColor = Colors.white,
  7. List<BoxShadow>? boxShadows,
  8. double borderRadius = 10,
  9. bool hapticsEnabled = false,
  10. int animationDuration = 250,
  11. double heightFactor = 0.05,
  12. IconData? leadingIcon,
  13. IconData? actionIcon,
  14. Color iconColor = Colors.white,
  15. double widthFactor = 0.98,
})

Implementation

const MUISecondaryBlockButton({
  super.key,
  required this.text,
  required this.onPressed,
  this.bgColor = const Color(0xff212123),
  this.tappedBgColor = const Color.fromARGB(255, 22, 22, 24),
  this.textColor = Colors.white,
  this.boxShadows,
  this.borderRadius = 10,
  this.hapticsEnabled = false,
  this.animationDuration = 250,
  this.heightFactor = 0.05,
  this.leadingIcon,
  this.actionIcon,
  this.iconColor = Colors.white,
  this.widthFactor = 0.98,
});