MUISecondaryBlockButton constructor
const
MUISecondaryBlockButton({
- Key? key,
- required String text,
- required VoidCallback onPressed,
- Color bgColor = const Color(0xff212123),
- Color tappedBgColor = const Color.fromARGB(255, 22, 22, 24),
- Color textColor = Colors.white,
- List<
BoxShadow> ? boxShadows, - double borderRadius = 10,
- bool hapticsEnabled = false,
- int animationDuration = 250,
- double heightFactor = 0.05,
- IconData? leadingIcon,
- IconData? actionIcon,
- Color iconColor = Colors.white,
- 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,
});