build method
Apply styles and build Text as Widget
Example usage:
NikuText("Applied Style")
.color(Colors.blue)
.fontSize(21)
.bold()
.build() // Collect all style and render
Implementation
Text build({Key? key}) => Text(this._text,
key: key,
locale: this._locale,
softWrap: this._softWrap,
overflow: this._overflow,
textScaleFactor: this._textScaleFactor,
maxLines: this._maxLines,
semanticsLabel: this._semanticsLabel,
textWidthBasis: this._textWidthBasis,
textHeightBehavior: this._textHeightBehavior,
textDirection: this._textDirection,
textAlign: this._textAlign,
style: TextStyle(
color: this._color,
backgroundColor: this._backgroundColor,
fontSize: this._fontSize,
fontWeight: this._fontWeight,
fontStyle: this._fontStyle,
letterSpacing: this._letterSpacing,
wordSpacing: this._wordSpacing,
textBaseline: this._textBaseline,
height: this._height,
fontFeatures: this._fontFeatures,
foreground: this._foreground,
background: this._background,
decoration: this._textDecoration,
decorationColor: this._textDecorationColor,
decorationThickness: this._textDecorationThickness,
shadows: this._shadows,
fontFamily: this._fontFamily,
fontFamilyFallback: this._fontFamilyFallback));