SizedWidgetSpan constructor

SizedWidgetSpan(
  1. {double width,
  2. double height,
  3. @required Widget child,
  4. PlaceholderAlignment alignment = ui.PlaceholderAlignment.bottom,
  5. TextBaseline baseline,
  6. TextStyle style}
)

Implementation

SizedWidgetSpan({
  this.width,
  this.height,
  @required Widget child,
  ui.PlaceholderAlignment alignment = ui.PlaceholderAlignment.bottom,
  TextBaseline baseline,
  TextStyle style,
}) : super(
    child: child,
    alignment: alignment,
    baseline: baseline,
    style: style);