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.

Implementation

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