Launch web browsers from your Flutter app.
Supprt browsers
- Google Chrome
- Firefox
- Opera
Add dependency to your pubspec file.
dependencies:
multi_browser_launcher: <latest version>
TextButton(
onPressed: () {
launchBrowser(
browserType: BrowserType.chrome,
url: 'https://flutter.dev',
);
},
child: const Text('launch chrome'),
),