NikuTextSpan constructor
NikuTextSpan(
- String? text, {
- Key? key,
- List<
NikuTextSpan> ? children, - NikuTextStyle? style,
- GestureRecognizer? recognizer,
- MouseCursor? mouseCursor,
- PointerEnterEventListener? onEnter,
- PointerExitEventListener? onExit,
- String? semanticsLabel,
- Locale? locale,
- bool? spellOut,
Implementation
NikuTextSpan(
this.text, {
Key? key,
this.children,
this.style,
this.recognizer,
MouseCursor? mouseCursor,
this.onEnter,
this.onExit,
this.semanticsLabel,
this.locale,
this.spellOut,
}) : mouseCursor = mouseCursor ??
(recognizer == null ? MouseCursor.defer : SystemMouseCursors.click),
assert(!(text == null && semanticsLabel != null));