NyRichText constructor

NyRichText({
  1. Key? key,
  2. required List<Text> children,
  3. TextStyle? style = const TextStyle(color: Colors.black),
  4. void onEnter(
    1. Text text,
    2. PointerEnterEvent event
    )?,
  5. void onExit(
    1. Text text,
    2. PointerExitEvent event
    )?,
  6. bool? spellOut,
  7. bool softWrap = true,
  8. TextAlign textAlign = TextAlign.start,
  9. TextDirection? textDirection,
  10. int? maxLines,
  11. TextOverflow overflow = TextOverflow.clip,
})

Implementation

NyRichText(
    {Key? 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})
    : super(key: key);