LokotroSecondaryButton constructor

const LokotroSecondaryButton({
  1. Key? key,
  2. required String text,
  3. VoidCallback? onPressed,
  4. bool isLoading = false,
  5. bool isEnabled = true,
  6. IconData? icon,
  7. double? width,
  8. double? height = 56,
  9. EdgeInsetsGeometry? padding,
  10. EdgeInsetsGeometry? margin,
  11. BorderRadius? borderRadius,
  12. Color? borderColor,
  13. Color? textColor,
  14. TextStyle? textStyle,
  15. Duration animationDuration = const Duration(milliseconds: 200),
})

Implementation

const LokotroSecondaryButton({
  super.key,
  required this.text,
  this.onPressed,
  this.isLoading = false,
  this.isEnabled = true,
  this.icon,
  this.width,
  this.height = 56,
  this.padding,
  this.margin,
  this.borderRadius,
  this.borderColor,
  this.textColor,
  this.textStyle,
  this.animationDuration = const Duration(milliseconds: 200),
});