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:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user