ZwapTextSpan class
- Implementers
Constructors
-
ZwapTextSpan({required Pattern text, TextStyle? textStyle, List<
ZwapTextSpan> children = const [], Uri? linkToUri, TapGestureRecognizer? gestureRecognizer, MouseCursor? cursor, ZwapLinkTarget linkTarget = ZwapLinkTarget.defaultTarget}) -
ZwapTextSpan.fromZwapTypography({required Pattern text, ZwapTextType? textType, Color? textColor, Uri? linkToUri, List<
ZwapTextSpan> children = const [], TapGestureRecognizer? gestureRecognizer, MouseCursor? cursor, ZwapLinkTarget linkTarget = ZwapLinkTarget.defaultTarget})
Properties
-
children
↔ List<
ZwapTextSpan> -
getter/setter pair
- cursor → MouseCursor?
-
final
- gestureRecognizer → TapGestureRecognizer?
-
FEATURE (Marchetti): Add the co-existency of gesture recognizer and link widger
! if one of the text spans has links this will be ignored
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- linkTarget → ZwapLinkTarget
-
Used only if linkToUri != null
final
- linkToUri → Uri?
-
if != null link widget will be added on this textspan only
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → Pattern
-
Attention: if you use a ZwapTranslation with
useLongPress
= true theonSecondayTap
is used instead ofonLongPress
final - textStyle → TextStyle?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited