NyRichText constructor
const
NyRichText({
- Key? key,
- required List<
Text> children, - TextStyle? style = const TextStyle(color: Colors.black),
- void onEnter(
- Text text,
- PointerEnterEvent event
- void onExit(
- Text text,
- PointerExitEvent event
- bool? spellOut,
- bool softWrap = true,
- TextAlign textAlign = TextAlign.start,
- TextDirection? textDirection,
- int? maxLines,
- TextOverflow overflow = TextOverflow.clip,
Implementation
const NyRichText(
{super.key,
required this.children,
this.style = const TextStyle(color: Colors.black),
this.onEnter,
this.onExit,
this.spellOut,
this.softWrap = true,
this.textAlign = TextAlign.start,
this.textDirection,
this.maxLines,
this.overflow = TextOverflow.clip});