rich static method
NikuRichText
rich({
- Key? key,
- NikuTextSpan? text,
- TextAlign? textAlign,
- TextDirection? textDirection,
- bool? softWrap,
- TextOverflow? overflow,
- double? textScaleFactor,
- int? maxLines,
- Locale? locale,
- NikuStrutStyle? strutStyle,
- TextWidthBasis? textWidthBasis,
- TextHeightBehavior? textHeightBehavior,
Implementation
static NikuRichText rich({
Key? key,
NikuTextSpan? text,
TextAlign? textAlign,
TextDirection? textDirection,
bool? softWrap,
TextOverflow? overflow,
double? textScaleFactor,
int? maxLines,
Locale? locale,
NikuStrutStyle? strutStyle,
TextWidthBasis? textWidthBasis,
ui.TextHeightBehavior? textHeightBehavior,
}) =>
NikuRichText(
text ?? NikuTextSpan(""),
key: key,
textAlign: textAlign,
textDirection: textDirection,
softWrap: softWrap,
overflow: overflow,
textScaleFactor: textScaleFactor,
maxLines: maxLines,
locale: locale,
strutStyle: strutStyle,
textWidthBasis: textWidthBasis,
textHeightBehavior: textHeightBehavior,
);