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,
}) {
_cursorWidth = width;
_cursorHeight = height ?? _cursorHeight;
_cursorRadius = radius ?? _cursorRadius;
_cursorColor = color ?? _cursorColor;
return this;
}