TatweerSecondaryButton constructor

const TatweerSecondaryButton({
  1. Key? key,
  2. required String text,
  3. VoidCallback? onPressed,
  4. Color? borderColor,
  5. Color? textColor,
  6. Color? backgroundColor,
  7. double? height,
  8. double? width,
  9. double? borderRadius,
  10. double? borderWidth,
  11. double? textSize,
  12. IconData? icon,
  13. Color? iconColor,
  14. double? iconSize,
  15. bool isLoading = false,
  16. bool isDisabled = false,
  17. String? size,
  18. bool showText = true,
})

Implementation

const TatweerSecondaryButton({
  Key? key,
  required this.text,
  this.onPressed,
  this.borderColor,
  this.textColor,
  this.backgroundColor,
  this.height,
  this.width,
  this.borderRadius,
  this.borderWidth,
  this.textSize,
  this.icon,
  this.iconColor,
  this.iconSize,
  this.isLoading = false,
  this.isDisabled = false,
  this.size,
  this.showText = true,
}) : super(key: key);