MistakePopup class
Builder class that uses specified popupRenderer and mistakeBuilder to create mistake popup
Constructors
- MistakePopup({required PopupOverlayRenderer popupRenderer, MistakeBuilderCallback? mistakeBuilder})
-
MistakePopup constructor
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- mistakeBuilder → MistakeBuilderCallback?
-
Optional builder function that creates popup widget
final
- popupRenderer → PopupOverlayRenderer
-
PopupRenderer class that used to render popup on the screen
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
show(
BuildContext context, {required Mistake mistake, required Offset popupPosition, required LanguageToolController controller, ValueChanged< TapDownDetails> ? onClose}) → void -
Show popup at specified
popupPosition
with info aboutmistake
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited