StyledTextContent class
Constructors
- StyledTextContent({required String text, double fontSize = 16, bool bold = false, bool italic = false, bool underlined = false})
-
const
-
StyledTextContent.fromJson(Map<
String, dynamic> json) -
factory
Properties
- bold → bool
-
final
- contentType → String
-
finalinherited
- fontSize → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
finalinherited
- italic → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String
-
final
- underlined → bool
-
final
Methods
-
createWidget(
) → Widget -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited