FDText class
Constructors
- FDText(String content, {TextStyle? style, TextTag? tag = TextTag.span, TextAlign? textAlign, bool selectable = false, int? maxLines, TextOverflow? overflow, bool? softWrap, TextDirection? textDirection, String? semanticsLabel, Key? key})
-
const
- FDText.rich(TextSpan textSpan, {TextStyle? style, TextTag? tag = TextTag.span, TextAlign? textAlign, bool selectable = false, int? maxLines, TextOverflow? overflow, bool? softWrap, TextDirection? textDirection, String? semanticsLabel, Key? key})
-
const
Properties
- content → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
finalinherited
- maxLines → int?
-
final
- overflow → TextOverflow?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectable → bool
-
final
- semanticsLabel → String?
-
final
- softWrap → bool?
-
final
- style → TextStyle?
-
final
- tag → TextTag?
-
final
- textAlign → TextAlign?
-
final
- textDirection → TextDirection?
-
final
- textSpan → TextSpan?
-
final
Methods
-
buildNode(
BuildContext context) → FlartNode -
Virtual DOM representation.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
BuildContext context) → String -
Legacy string-based rendering bridge for backwards compatibility.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited