createSpan method

TextSpan createSpan(
  1. String text
)

Implementation

TextSpan createSpan(String text) {
  return TextSpan(
    text: text,
    style: TextStyle(
      color: foreground,
      backgroundColor: background,
    ),
  );
}