ModulaTertiaryButton constructor

const ModulaTertiaryButton({
  1. required VoidCallback? onPressed,
  2. required String label,
  3. Key? key,
  4. bool isEnabled = true,
  5. IconData? icon,
  6. double borderRadius = 8.0,
  7. Color? textColor,
  8. Color? disabledTextColor,
  9. TextStyle? textStyle,
  10. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 12, vertical: 8),
  11. MainAxisAlignment alignment = MainAxisAlignment.center,
  12. Color? backgroundColor,
  13. Color? splashColor,
  14. Duration animationDuration = const Duration(milliseconds: 200),
  15. double elevation = 0.0,
})

Implementation

const ModulaTertiaryButton({
  required this.onPressed,
  required this.label,
  super.key,
  this.isEnabled = true,
  this.icon,
  this.borderRadius = 8.0,
  this.textColor,
  this.disabledTextColor,
  this.textStyle,
  this.padding = const EdgeInsets.symmetric(horizontal: 12, vertical: 8),
  this.alignment = MainAxisAlignment.center,
  this.backgroundColor,
  this.splashColor,
  this.animationDuration = const Duration(milliseconds: 200),
  this.elevation = 0.0,
});