Skip to content

@pragma("vm:entry-point") support #22

@bugrevealingbme

Description

@bugrevealingbme

If I run the package from the overlay with @pragma(“vm:entry-point”) I get an error. Is there any way to fix this?

@pragma("vm:entry-point")
void overlayMain() {
WidgetsFlutterBinding.ensureInitialized();
runApp(
const MaterialApp(
debugShowCheckedModeBanner: false,
home: OverlayView(),
),
);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions