build method
Apply styles and build Text as Widget
Example usage:
NikuSelectableText("Applied Style")
.color(Colors.blue)
.fontSize(21)
.bold()
Implementation
@override
build(context) => internalBuild(
SelectableText(
_text,
key: key,
textScaleFactor: _textScaleFactor,
maxLines: _maxLines,
textWidthBasis: _textWidthBasis,
textHeightBehavior: _textHeightBehavior,
textDirection: _textDirection,
textAlign: _textAlign,
style: TextStyle(
color: _color,
backgroundColor: _backgroundColor,
fontSize: _fontSize,
fontWeight: _fontWeight,
fontStyle: _fontStyle,
letterSpacing: _letterSpacing,
wordSpacing: _wordSpacing,
textBaseline: _textBaseline,
height: _height,
fontFeatures: _fontFeatures,
foreground: _foreground,
background: _background,
decoration: _textDecoration,
decorationColor: _textDecorationColor,
decorationThickness: _textDecorationThickness,
shadows: _shadows,
fontFamily: _fontFamily,
fontFamilyFallback: _fontFamilyFallback,
),
),
);