rect property

Rect? rect
final

A more elaborate Neumorphic TextStyle may render large text with plenty of room on the glyphs themselves to paint a Curvature-inspired LinearGradient. By default, this property is null and only a TextStyle.color is supplied--no foreground Paint is rendered.

Offering a Rect here for deployment within Neu.buildTextStyle as its Neu.neuTextSpec allows Neu.textStyle to paint a gradient over the glyphs as their paint as opposed to a simple flat color.

Implementation

final Rect? rect;