NeuTextSpec constructor
const
NeuTextSpec({
- TextStyle baseStyle = const TextStyle(),
- Rect? rect,
- TextDirection textDirection = TextDirection.ltr,
A container object for baseStyle from which to copy TextStyle as well
as Rect and TextDirection fields for painting a gradient atop the text
instead of just a solid color in the context of Neu.textStyle (or more
specifically as a field of a new Neu
object for the deployment of the
Neu.buildTextStyle instance method).
Cleans up fields of a new Neu
object as these three properties
contribute to only a single method choice.
Implementation
const NeuTextSpec({
this.baseStyle = const TextStyle(),
this.rect,
this.textDirection = TextDirection.ltr,
});