CursorPainter class

Paints the editing cursor.

Constructors

CursorPainter({required RenderContentProxyBox? editable, required CursorStyle style, required Rect prototype, required Color color, required double devicePixelRatio})

Properties

color Color
final
devicePixelRatio double
final
editable → RenderContentProxyBox?
final
hashCode int
The hash code for this object.
no setterinherited
prototype Rect
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style CursorStyle
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(Canvas canvas, Offset offset, TextPosition position, bool lineHasEmbed) → void
Paints cursor on canvas at specified position. offset is global top left (x, y) of text line position is relative (x) in text line
toString() String
A string representation of this object.
inherited

Operators

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