DropCapText constructor
DropCapText(
- String data, {
- Key? key,
- DropCapMode mode = DropCapMode.inside,
- TextStyle? style,
- TextStyle? dropCapStyle,
- TextAlign textAlign = TextAlign.start,
- DropCap? dropCap,
- EdgeInsets dropCapPadding = EdgeInsets.zero,
- Offset indentation = Offset.zero,
- int dropCapChars = 1,
- bool forceNoDescent = false,
- bool parseInlineMarkdown = false,
- TextDirection textDirection = TextDirection.ltr,
- TextOverflow overflow = TextOverflow.clip,
- int? maxLines,
- 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);