PlaceholderSpan constructor

const PlaceholderSpan(
  1. {PlaceholderAlignment alignment: ui.PlaceholderAlignment.bottom,
  2. TextBaseline baseline,
  3. TextStyle style}

Creates a PlaceholderSpan with the given values.

A TextStyle may be provided with the style property, but only the decoration, foreground, background, and spacing options will be used.


const PlaceholderSpan({
  this.alignment = ui.PlaceholderAlignment.bottom,
  TextStyle style,
}) : super(style: style,);