leanflutter/launch_at_startup

web compile error

sleepreading opened this issue · 0 comments

import 'package:launch_at_startup/launch_at_startup.dart';
...
if (!isDesktop) { // just want to skip those codes when non-desktop
   return;
}
LaunchAtStartup.instance.setup(...)
...

When I compile the project for web, cause this error:
aunch_at_startup-0.1.9/lib/src/launch_at_startup.dart:41:9: Error: No named parameter with the name 'args'.