Answer the question
In order to leave comments, you need to log in
How to create home screen widget with flutter?
Good day.
I am just starting to learn android development, I have never faced such tasks before.
The problem of Google in this case comes down to the fact that all widgets are in flutter.
What needs to be added / changed in a simple flutter project (one button and one event on it) so that it would be possible to display a widget on the main screen on the phone that would perform the same functionality as the button inside the application?
Answer the question
In order to leave comments, you need to log in
Look in this repository: https://github.com/hemanthrajv/flutter_home_screen...
I googled it myself but didn't find anything.
Today I found it.
Answer: using only flutter - no way to create.
Using Java - it is possible.
An example code is in the repository, link above. If you need to change or modify - read the documentation, I think you can handle it, and it won't be superfluous.
In any case, I wish you good luck, unsubscribe when it turns out.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question