Body2Text constructor

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

Implementation

const factory Body2Text(String text, {bool? softWrap, int? maxLines, TextOverflow? overflow, Color? color, Key? key}) =
    Body2Text.normal;