MUISecondaryOutlinedButton constructor
const
MUISecondaryOutlinedButton({
- Key? key,
- required String text,
- required VoidCallback onPressed,
- required Color bgColor,
- Color borderColor = Colors.grey,
- double borderWidth = 1.5,
- Color textColor = Colors.black,
- double borderRadius = 10,
- bool hapticsEnabled = false,
- int animationDuration = 250,
- double maxHorizontalPadding = 50,
- IconData? leadingIcon,
- IconData? actionIcon,
- Color iconColor = Colors.black,
- 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,
});