RichTextIcon class
Constructors
- RichTextIcon({required Document document, required int width, required int height})
-
A small image inside the text
const
-
RichTextIcon.fromJson(Map<
String, dynamic> json) -
Parse from a json
factory
Properties
- clientId → int?
-
client identifier
no setterinherited
- document → Document
-
document The image represented as a document. The image can be in GIF, JPEG or PNG format
final
- extra → dynamic
-
callback sign
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
height Height of a bounding box in which the image must be shown; 0 if unknown
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → int
-
width Width of a bounding box in which the image must be shown; 0 if unknown
final
Methods
-
copyWith(
{Document? document, int? width, int? height}) → RichTextIcon -
override
-
getConstructor(
) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String