KRTextButton constructor
const
KRTextButton({
- Key? key,
- required String text,
- required VoidCallback? onPressed,
- bool isBold = false,
- bool isDisabled = false,
- KRButtonSize size = KRButtonSize.large,
- int textColor = KRTheme.DEFAULT_PRIMARY_COLOR,
Implementation
const KRTextButton({
Key? key,
required this.text,
required this.onPressed,
this.isBold = false,
this.isDisabled = false,
this.size = KRButtonSize.large,
this.textColor = KRTheme.DEFAULT_PRIMARY_COLOR,
}) : super(key: key);