KRNote constructor

const KRNote({
  1. Key? key,
  2. required String text,
  3. bool isBold = false,
  4. TextAlign textAlign = TextAlign.left,
  5. KRTextSize size = KRTextSize.body,
  6. int backgroundColor = KRTheme.DEFAULT_PRIMARY_COLOR,
  7. int textColor = KRTheme.DEFAULT_DARK_COLOR,
})

Implementation

const KRNote({
  Key? key,
  required this.text,
  this.isBold = false,
  this.textAlign = TextAlign.left,
  this.size = KRTextSize.body,
  this.backgroundColor = KRTheme.DEFAULT_PRIMARY_COLOR,
  this.textColor = KRTheme.DEFAULT_DARK_COLOR,
}) : super(key: key);