DialogPresenter class
Handles dialog presentation for editor actions that require user input (link insertion, image insertion). Separated from EventHandler to respect SRP: EventHandler processes keyboard/tap input, DialogPresenter shows UI.
Constructors
- DialogPresenter(FluentDocument document)
Properties
- document → FluentDocument
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
handleInsertImage(
BuildContext context) → Future< void> - Shows the dialog to insert an image and inserts it if confirmed.
-
handleInsertLink(
BuildContext context) → Future< void> - Shows the dialog to insert a link and inserts it if confirmed.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited