TextInputCursorStyle class
Style for the cursor.
Controls the visual appearance of the cursor in a TextInputModel, including color, shape, and blinking behavior.
Constructors
- TextInputCursorStyle({Color? color, CursorShape shape = CursorShape.block, bool blink = true, Duration blinkSpeed = const Duration(milliseconds: 500)})
- Creates a cursor style with the specified options.
Properties
- blink ↔ bool
-
Whether the cursor blinks.
getter/setter pair
- blinkSpeed ↔ Duration
-
Duration between blink state changes.
getter/setter pair
- color ↔ Color?
-
Color of the cursor. If null, uses the terminal default.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape ↔ CursorShape
-
Shape of the cursor (block, underline, or bar).
getter/setter pair
Methods
-
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