MUISecondaryOutlinedBlockButton constructor
const
MUISecondaryOutlinedBlockButton({
- Key? key,
- required String text,
- required VoidCallback onPressed,
- Color bgColor = Colors.transparent,
- Color textColor = Colors.black,
- Color borderColor = Colors.grey,
- Color tappedBgColor = Colors.grey,
- double borderWidth = 2,
- double borderRadius = 10,
- bool hapticsEnabled = false,
- int animationDuration = 250,
- double heightFactor = 0.05,
- IconData? leadingIcon,
- IconData? actionIcon,
- Color iconColor = Colors.black,
- double widthFactor = 0.98,
- 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,
});