@override
   Widget build(BuildContext context) {
     return Scaffold(
       body: Center(
         child: ElevatedButton(
           onPressed: launchURL,
           child: const Text('Show Flutter homepage'),
         ),
       ),
     );
   }
 }

Run the app (or stop and restart it, if it was already running
before adding the plugin). Click Show Flutter homepage.
You should see the default browser open on the device,
displaying the homepage for flutter.dev.