BlockEmbed class
There are two built-in embed types supported by Quill documents, however the document model itself does not make any assumptions about the types of embedded objects and allows users to define their own types.
- Inheritance
-
- Object
- Embeddable
- BlockEmbed
- Implementers
Constructors
- BlockEmbed(String type, String data)
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
custom(
CustomBlockEmbed customBlock) → BlockEmbed -
formula(
String formula) → BlockEmbed -
image(
String imageUrl) → BlockEmbed -
video(
String videoUrl) → BlockEmbed
Constants
- customType → const String
- formulaType → const String
- imageType → const String
- videoType → const String