KRTextButton constructor

const KRTextButton({
  1. Key? key,
  2. required String text,
  3. required VoidCallback? onPressed,
  4. bool isBold = false,
  5. bool isDisabled = false,
  6. KRButtonSize size = KRButtonSize.large,
  7. 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);