I added a native Android home screen widget to my Flutter application.
In my AppWidgetProvider implementation, I\'d like to call dart code in my o
AppWidgetProvider
o
maybe you can use invokeMethod(String method, @Nullable Object arguments, MethodChannel.Result callback) and use callback to get the fail reason.
invokeMethod(String method, @Nullable Object arguments, MethodChannel.Result callback)