-
-
Notifications
You must be signed in to change notification settings - Fork 172
Touch Issue #123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey, There's a subreddit and a discord where you can get help debugging your app, see the flutter community page. When you change the state of any stateful widgets, make sure you're calling the |
My test app works when I use the android emulator on my desktop. I have tested it before building it for the pi. But thanks for your quick answer! Now I know that the problem is somewhere on my side and that I haven't missed anything important. |
Hey again, My app runs fine on an android emulator on my pc. I tried doing the exact same thing that you said in the readme and I still don't have any touch support even though it works well for the flutter gallery. I tried to replace the main of the flutter_gallery project with the main of my own project and i still don't have touch support. Do you have a sample project near that you know will work so I can try to debug with it? I use a raspberry pi model 3 b+ |
Actually, I mostly use flutter gallery for testing. All the other apps I have depend on specific peripherals (for example an ELM327 connected via Bluetooth, a SI468X connected via SPI) If you want, you can send me your app and I'll try to get it working (or publish it as a github repo so I can fork it) |
Oh nice! You are building application for cars? I think I was not patient enough.. In --release i have still no touch, but without the --release the app wouldn't open so I always shut it after a few seconds but this morning a waited a little bit more, the app opened and now everything works like a charm! Thanks again for you port! |
Exactly, actually I only developed flutter-pi so I can have a nice & modern UI in my car
Nice! Yeah debug mode takes a bit longer to start, I think it's mostly spend on disk IO. So a faster SD card may help It's still weird it doesn't work in release mode, it should work fine there too |
That must be so perfect, you can have any data you want from car at any time. Good luck with this project!
I note that down. |
(a bit late but) thanks! Closing this now, since it seems to be resolved |
Hi!
First thanks a lot for your port, this is amazing! I'm new to flutter and I would like to use it as a ui framework for raspberry pi so I buil the 'flutter gallery' example and everything worked fine, I used a touchscreen and it worked like a charm. So I did one of
the example that is on the google docs website build it on my host. Then I repeated the exact same procedure that I did for
the flutter gallery to run it on the pi, but with my new super basic app ( the shoplist example ) won't respond to any touch input. I tried rebuilding it many time, adding some small changes but nothing works. Is there something that I am missing ? Do I need to add a specific package or configure something for it to works?
side note: I am using the default touch library.
Thanks a lot for your help,
Nathan
The text was updated successfully, but these errors were encountered: