Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Create Homescreen widgets for flutter

i wondering how can Create like this Home Screen Shortcuts for my app in flutter enter image description here

like image 751
Mohammed Mustafa Avatar asked Nov 07 '22 13:11

Mohammed Mustafa


1 Answers

App Widget example repo is here https://github.com/hemanthrajv/flutter_home_screen_widget_example

please reference detail Flutter: Is it somehow possible to create App Widgets (Android) and Today Extensions (iOS)?

Author do it with Android Native Code
and author follow this document to create native part https://medium.com/android-bits/android-widgets-ad3d166458d3

In example, author create a "url link" call tape it
When user click "tape it", it will open url

like image 81
chunhunghan Avatar answered Nov 16 '22 18:11

chunhunghan