FLDyTextUnitModel constructor

FLDyTextUnitModel(
  1. String? text, {
  2. String? uniqueId,
  3. String? unitName,
  4. FLDyUnitPositioned? positioned,
  5. FLDyUnitTextStyle? textStyle,
  6. String? textAlign,
  7. String? textDirection,
  8. bool? softWrap,
  9. String? textOverflow,
  10. double? textScaleFactor,
  11. int? maxLines,
  12. String? semanticsLabel,
  13. String? textWidthBasis,
})

Implementation

FLDyTextUnitModel(
  this.text, {
  String? uniqueId,
  String? unitName,
  FLDyUnitPositioned? positioned,
  this.textStyle,
  this.textAlign,
  this.textDirection,
  this.softWrap,
  this.textOverflow,
  this.textScaleFactor,
  this.maxLines,
  this.semanticsLabel,
  this.textWidthBasis,
}) : super(
        uniqueId: uniqueId,
        unitName: unitName,
        positioned: positioned,
      );