I am creating a note app using Flutter, and as we know we may need to write or paste a short/medium/long lengthy text and save them right ? Well TextField only works for me on short/medium lengthy notes while for long ones it just doesn't save it.
1- I should let you know that i am perfectly able to save/edit short/medium notes so the issue can't be related to database or controller.
2- In case of pasting a long text in textfield the textField Expands and show the whole note but when you hit the save button and automatically get to homescreen i see a blank note.
3- I am using sqflite for database in case you all need to know, and added a part of the code related to textfield below.
4- Btw i am able to paste the same long text in Google Keep so i don't see why i have such limitation in my Flutter app.
5- Tried setting maxLines to null and that didn't help as well.
6- I am using Flutter 1.22.0 Stable
--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/6314ea5c-9e42-4fb7-98a4-8fd82b6e48ban%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/52a10c8e-7d5a-402b-935d-eb487e1f0ac8n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/16aea8f8-ea53-456b-a41a-6381b8344963n%40googlegroups.com.
This code ^ does not use a database.
Personally on my project I don’t think that database is the problem because it works fine when you try anything else, the textField or controller just can’t handle that many characters i guess and ends up not passing the new data to database.

To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/b4e7aabd-0b38-48ab-872c-a32af57f68fan%40googlegroups.com.