leadingSpan property

InlineSpan get leadingSpan

Implementation

InlineSpan get leadingSpan {
  if (leading == null) {
    return const TextSpan(text: "");
  }
  return WidgetSpan(
    alignment: PlaceholderAlignment.middle,
    child: Padding(padding: const EdgeInsets.only(right: 6), child: leading!),
  );
}