sms_autofill
sms_autofill copied to clipboard
Copy paste is not working on 2.3.0 - UI breaks on long press
What is this happening on long press? UI is breaking and no option for pasting the copied code.
PinFieldAutoFill(
decoration: BoxLooseDecoration(
strokeColorBuilder: PinListenColorBuilder(
Theme.of(context).colorScheme.onBackground,
Theme.of(context).colorScheme.primary),
bgColorBuilder: const FixedColorBuilder(Colors.transparent),
strokeWidth: 1,
),
autoFocus: true,
cursor: Cursor(
color: Theme.of(context).colorScheme.primary,
enabled: true,
width: 1,
),
currentCode: codeValue,
onCodeSubmitted: _submitOtp,
codeLength: 6,
onCodeChanged: (code) {
codeValue = code.toString();
if (code?.length == 6) {
_submitOtp(code);
}
if (kDebugMode) {
print("onCodeChanged $code");
}
setState(() {
codeValue = code.toString();
});
},
)