Reputation: 1125
Is it possible somehow to display Android homescreen widget as a Flutter widget?
I've read about PlatformView widget that can embed any Android view inside Flutter app. How is it possible to do the same with homescreen widgets?
Upvotes: 3
Views: 3946
Reputation:
There is no official support from flutter but you can take a look at this video explaining how to create a home widget using flutter unfortunately the speak he didn't post the code. It looks like the only solution to add the app widget android code in the generated code which means you should know android development in kotlin/java.
Upvotes: 0
Reputation: 41
I found a github project which is only for android in flutter but initially has much to solve the problem This flutter_home_screen_widget_example github repo
Also found a similar github issue26134 requesting for the same
Got two more related stackoverflow questions
questions/44120149/android-lock-screen-widget-in-flutter
Upvotes: 1