We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 273fd5f commit 1f1faa0Copy full SHA for 1f1faa0
lib/src/pin_code_fields.dart
@@ -418,8 +418,8 @@ class _PinCodeTextFieldState extends State<PinCodeTextField>
418
(_selectedIndex == index + 1 && index + 1 == widget.length)) &&
419
_focusNode.hasFocus &&
420
widget.showCursor) {
421
- final cursorColor =
422
- widget.cursorColor ?? Theme.of(widget.appContext).cursorColor;
+ final cursorColor = widget.cursorColor ??
+ Theme.of(widget.appContext).textSelectionTheme.cursorColor;
423
final cursorHeight = widget.cursorHeight ?? widget.textStyle.fontSize + 8;
424
425
if ((_selectedIndex == index + 1 && index + 1 == widget.length)) {
0 commit comments