Body2Text.bold constructor

const Body2Text.bold(
  1. String text, {
  2. bool? softWrap,
  3. int? maxLines,
  4. TextOverflow? overflow,
  5. Color? color,
  6. Key? key,
})

Implementation

const Body2Text.bold(this.text, {this.softWrap, this.maxLines, this.overflow, this.color, Key? key})
    : fontType = FontType.bold,
      super(key: key);