DefaultCaretOverlayBuilder class

A DocumentLayerBuilder that paints a caret at the primary selection extent in a SuperEditor.

Implemented types

Constructors

DefaultCaretOverlayBuilder([CaretStyle caretStyle = const CaretStyle(width: 2, color: Colors.black)])
const

Properties

caretStyle CaretStyle
Styles applied to the caret that's painted by this caret overlay.
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

build(BuildContext context, EditContext editContext) Widget
override
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