ObserverText constructor
ObserverText({
- Key? key,
- required String onData(
- BuildContext context
- InlineSpan onDataRich(
- BuildContext context
- TextStyle? style,
- StrutStyle? strutStyle,
- TextAlign? textAlign,
- TextDirection? textDirection,
- Locale? locale,
- bool? softWrap,
- TextOverflow? overflow,
- double? textScaleFactor,
- int? maxLines,
- String? semanticsLabel,
- TextWidthBasis? textWidthBasis,
- Transition? transition,
- dynamic isRich,
Implementation
ObserverText({
Key? key,
required this.onData,
this.onDataRich,
this.style,
this.strutStyle,
this.textAlign,
this.textDirection,
this.locale,
this.softWrap,
this.overflow,
this.textScaleFactor,
this.maxLines,
this.semanticsLabel,
this.textWidthBasis,
this.transition,
isRich,
}) : isRich = false,
assert(onData != null),
super(key: key);