MUISecondaryButton constructor

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

Implementation

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