Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Home Screen widget in Flutter

Tags:

flutter

dart

I have to build a flutter app where the data need to be shown on home screen of the phone, if the app is in background mode.

Till now i have not found any relevant information regarding the home screen widget or how to create the app widget in flutter except the one that

we can build app widget in native(Android/iOS). Native widget in android

Do i need to handle app widget from the native code or is there a way to handle app widget in flutter.

like image 320
Prashant Gaurav Avatar asked Nov 06 '19 07:11

Prashant Gaurav


1 Answers

It's not official supported, but there are some packages, to do the basic stuff:

https://pub.dev/packages/home_widget

Android iOS
image image

There is also a ticket in the Flutter repo: Explore home widgets for iOS 14. So you can upvote this ticket, if you are interested.

like image 144
Nils Reichardt Avatar answered Oct 21 '22 10:10

Nils Reichardt