31

There are some plugins like home_widget: ^0.1.6 that supports only HomeScreen Widgets.

Recently Apple launched LockScreen Widgets on iOS 16.

Is there any plugin for that? How do I implement that?

enter image description here

Anand
  • 4,355
  • 2
  • 35
  • 45

2 Answers2

4

At the time of this writing, there are no known plugins that do that. There are two options moving forward, based on timeline for when you need this functionality:

  1. Wait for someone to create a plugin that does this
  2. Create the plugin yourself. Follow the Apple Docs and write a custom Flutter plugin (and then preferably publish it to pub.dev for others to benefit from as well).
Praxder
  • 2,315
  • 4
  • 32
  • 51
1

This is native functionality, as @Shredder2794 said, if anyone has not created a plugin for that purpose, we have to build it.

You have to write separate native codes for iOS and Android with platform channel

Kasun Hasanga
  • 1,626
  • 4
  • 15
  • 35