ModulaOutlinedButton constructor
const
ModulaOutlinedButton({
- required VoidCallback? onPressed,
- required String label,
- Key? key,
- bool isEnabled = true,
- IconData? icon,
- double borderRadius = 8.0,
- Color? textColor,
- Color? disabledTextColor,
- Color? borderColor,
- Color? backgroundColor,
- TextStyle? textStyle,
- EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 12, vertical: 8),
- MainAxisAlignment alignment = MainAxisAlignment.center,
- Duration animationDuration = const Duration(milliseconds: 200),
- double elevation = 0.0,
- Color? splashColor,
Implementation
const ModulaOutlinedButton({
required this.onPressed,
required this.label,
super.key,
this.isEnabled = true,
this.icon,
this.borderRadius = 8.0,
this.textColor,
this.disabledTextColor,
this.borderColor,
this.backgroundColor,
this.textStyle,
this.padding = const EdgeInsets.symmetric(horizontal: 12, vertical: 8),
this.alignment = MainAxisAlignment.center,
this.animationDuration = const Duration(milliseconds: 200),
this.elevation = 0.0,
this.splashColor,
});