StyledText constructor

const StyledText(
  1. String text, {
  2. List<int>? fgColor,
  3. List<int>? bgColor,
  4. bool bold = false,
  5. String url = '',
})

Implementation

const StyledText(
  this.text, {
  this.fgColor,
  this.bgColor,
  this.bold = false,
  this.url = '',
});