Flutter app widget

How to create app widget in flutter which can be shown on lock screen of the phone.I have worked on native android.What will the correct way to handle this functionality.