InlineSpan.widget constructor Null safety

const InlineSpan.widget(
  1. {required Widget child,
  2. @Default(PlaceholderAlignment.bottom) PlaceholderAlignment alignment,
  3. TextBaseline? baseline,
  4. TextStyle? style}
)

Implementation

const factory InlineSpan.widget({
  required Widget child,
  @Default(PlaceholderAlignment.bottom) PlaceholderAlignment alignment,
  TextBaseline? baseline,
  TextStyle? style,
}) = WidgetSpan;