1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

Add an entry point annotation to the Dart function invoked by the android_view sample (#790)

Fixes https://github.com/flutter/flutter/issues/81350
This commit is contained in:
Jason Simmons
2021-05-03 13:27:23 -07:00
committed by GitHub
parent beface247a
commit e623b043f2

View File

@@ -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());
}