foreground property Null safety
The paint drawn as a foreground for the text.
The value should ideally be cached and reused each time if multiple text styles are created with the same paint settings. Otherwise, each time it will appear like the style changed, which will result in unnecessary updates all the way through the framework.
final Paint? foreground;