BijoyTextSpan constructor

BijoyTextSpan({
  1. String? text,
  2. List<BijoyTextSpan>? children,
  3. TextStyle? style,
  4. bool? toBijoyIf,
  5. GestureRecognizer? recognizer,
  6. MouseCursor? mouseCursor,
  7. PointerEnterEventListener? onEnter,
  8. PointerExitEventListener? onExit,
  9. String? semanticsLabel,
  10. Locale? locale,
  11. bool? spellOut,
})

Implementation

BijoyTextSpan({
  String? text,
  List<BijoyTextSpan>? children,
  TextStyle? style,
  bool? toBijoyIf,
  GestureRecognizer? recognizer,
  MouseCursor? mouseCursor,
  PointerEnterEventListener? onEnter,
  PointerExitEventListener? onExit,
  String? semanticsLabel,
  Locale? locale,
  bool? spellOut,
}) : super(
        text: text != null
            ? toBijoyIf != null
                ? toBijoyIf
                    ? _toBijoy(text)
                    : text
                : _toBijoy(text)
            : null,
        children: children,
        style: style,
        recognizer: recognizer,
        mouseCursor: mouseCursor,
        onEnter: onEnter,
        onExit: onExit,
        semanticsLabel: semanticsLabel?.toBijoyIf(toBijoyIf ?? true),
        locale: locale,
        spellOut: spellOut,
      );