DropCapText constructor

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

Implementation

DropCapText(
    {Key? key,
    required this.data,
    this.selectable,
    this.mode,
    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,
    this.maxLines,
    this.dropCapPosition})
    : super(key: key);