InlineSpan.text constructor Null safety

const InlineSpan.text(
  1. {String? text,
  2. List<InlineSpan>? children,
  3. TextStyle? style,
  4. MouseCursor? mouseCursor,
  5. Callback? onTap,
  6. String? semanticsLabel,
  7. Locale? locale,
  8. bool? spellOut}
)

Implementation

const factory InlineSpan.text({
  String? text,
  List<InlineSpan>? children,
  TextStyle? style,
  MouseCursor? mouseCursor,
  Callback? onTap,
  String? semanticsLabel,
  Locale? locale,
  bool? spellOut,
}) = TextSpan;