I am developping a Flutter app which uses a Textfield
.
I am declaring the TextField
like this :
new TextField(
controller : _controller,
decoration : new InputDecoration(
hintText: 'Message...'
)
)
The TextField
is displayed in my widget, however when I tap on it, the keyboard is automatically closed and the following error appears in the console
E/SpannableStringBuilder(17860): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
I am running this using the Flutter plugin in IntelliJ on a Android (Samsung Galaxy Grand Prime, Android 5.1).
How could I solve this problem ?
EDIT: As seen on this answer (Android - SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length), I have tried switching keyboard (Google and Samsung), stille the same