styled method
Applies the provided style
to this Text.
If merge
is set to true
, the provided style
will be merged with the existing style.
Implementation
Text styled(TextStyle style, {bool merge = false}) => copyWith(style: merge ? style.merge(this.style) : style);