DrawableText constructor
DrawableText(
- String? id,
- Paragraph? fill,
- Paragraph? stroke,
- Offset offset,
- DrawableTextAnchorPosition anchor, {
- Float64List? transform,
Creates a new DrawableText object.
One of fill or stroke must be specified.
Implementation
DrawableText(
this.id,
this.fill,
this.stroke,
this.offset,
this.anchor, {
this.transform,
}) : assert(fill != null || stroke != null);