cursor method
Set property of cursor at once
Equivalent to
TextFormField(
cursorWidth: width,
cursorHeight: height,
cursorRadius: radius,
cursorColor: color
)
Implementation
NikuTextField cursor(
{double width = 2, double? height, Radius? radius, Color? color}) {
this._cursorWidth = width;
this._cursorHeight = height ?? this._cursorHeight;
this._cursorRadius = radius ?? this._cursorRadius;
this._cursorColor = color ?? this._cursorColor;
return this;
}