Span constructor
text in style, unset by default or where null, so that a style
that depends goes in as it is: Span(text, overdue ? theme.warning : null).
Implementation
const Span(this.text, [Style? style])
: style = style ?? const Style(),
gradient = null,
onTap = null;