From e623b043f283f858925304e99751880f639d9fd5 Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Mon, 3 May 2021 13:27:23 -0700 Subject: [PATCH] Add an entry point annotation to the Dart function invoked by the android_view sample (#790) Fixes https://github.com/flutter/flutter/issues/81350 --- .../android_view/flutter_module_using_plugin/lib/main.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/add_to_app/android_view/flutter_module_using_plugin/lib/main.dart b/add_to_app/android_view/flutter_module_using_plugin/lib/main.dart index bcdb18031..f82317b13 100644 --- a/add_to_app/android_view/flutter_module_using_plugin/lib/main.dart +++ b/add_to_app/android_view/flutter_module_using_plugin/lib/main.dart @@ -29,6 +29,7 @@ void main() { /// a (multi-)view integration scenario. // This is unfortunately in this file due to // https://github.com/flutter/flutter/issues/72630. +@pragma("vm:entry-point") void showCell() { runApp(Cell()); }