span method

  1. @override
InlineSpan span(
  1. BuildContext context,
  2. String text,
  3. GptMarkdownConfig config
)
override

Implementation

@override
InlineSpan span(
  BuildContext context,
  String text,
  final GptMarkdownConfig config,
) {
  return WidgetSpan(
    child: build(
      context,
      text,
      config,
    ),
    alignment: PlaceholderAlignment.middle,
  );
}