A flutter plugin to open a url with default browser or select browser
This plugin is under development, APIs might change.
Install the library from pub:
dependencies:
flutter_open_browser: ^1.0.3import 'package:flutter_open_browser/flutter_open_browser.dart';SettingModel settingModel = SettingModel(
url: "http://google.com",//Your url
intCaseShowError: SettingModel.SHOW_TOAST,//Show dialog or toast if error
messageErrorShow: "Error");//Your error message.
await FlutterOpenBrowser.openBrowserSelect(settingModel: settingModel);