TatweerSecondaryButton constructor
const
TatweerSecondaryButton({
- Key? key,
- required String text,
- VoidCallback? onPressed,
- Color? borderColor,
- Color? textColor,
- Color? backgroundColor,
- double? height,
- double? width,
- double? borderRadius,
- double? borderWidth,
- double? textSize,
- IconData? icon,
- Color? iconColor,
- double? iconSize,
- bool isLoading = false,
- bool isDisabled = false,
- String? size,
- 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);