DropCapText constructor

DropCapText(
  1. String data, {
  2. Key? key,
  3. DropCapMode mode = DropCapMode.inside,
  4. TextStyle? style,
  5. TextStyle? dropCapStyle,
  6. TextAlign textAlign = TextAlign.start,
  7. DropCap? dropCap,
  8. EdgeInsets dropCapPadding = EdgeInsets.zero,
  9. Offset indentation = Offset.zero,
  10. int dropCapChars = 1,
  11. bool forceNoDescent = false,
  12. bool parseInlineMarkdown = false,
  13. TextDirection textDirection = TextDirection.ltr,
  14. TextOverflow overflow = TextOverflow.clip,
  15. int? maxLines,
  16. DropCapPosition? dropCapPosition,
})

Implementation

DropCapText(this.data,
    {Key? key,
    this.mode = DropCapMode.inside,
    this.style,
    this.dropCapStyle,
    this.textAlign = TextAlign.start,
    this.dropCap,
    this.dropCapPadding = EdgeInsets.zero,
    this.indentation = Offset.zero,
    this.dropCapChars = 1,
    this.forceNoDescent = false,
    this.parseInlineMarkdown = false,
    this.textDirection = TextDirection.ltr,
    this.overflow = TextOverflow.clip,
    this.maxLines,
    this.dropCapPosition})
    : assert(data != null),
      super(key: key);