TextInputCursorStyle constructor

TextInputCursorStyle({
  1. Color? color,
  2. CursorShape shape = CursorShape.block,
  3. bool blink = true,
  4. Duration blinkSpeed = const Duration(milliseconds: 500),
})

Creates a cursor style with the specified options.

Defaults to a blinking block cursor.

Implementation

TextInputCursorStyle({
  this.color,
  this.shape = CursorShape.block,
  this.blink = true,
  this.blinkSpeed = const Duration(milliseconds: 500),
});