UneditableEmbed class abstract

Base class for embeds that cannot be edited.

The widget displayed for embeds extending this class will be the same as their view.

Subclasses only need to override ParagraphEmbed.createView.

Inheritance
Implemented types

Constructors

UneditableEmbed()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createController() ParagraphEmbedController
Create a controller with this embed as its initial state.
override
createEditor(BuildContext context, FocusNode focusNode) Widget
Create an embed editor for this embed controller.
override
createView(BuildContext context) Widget
Create a widget that displays this embed.
inherited
match<T>({required T line(LineParagraph), required T embed(ParagraphEmbed)}) → T
Execute line if this is a LineParagraph and embed if this is a ParagraphEmbed.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toEmbed() ParagraphEmbed?
Convert the current state of the controller to a ParagraphEmbed.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited