flutter_open_browser 1.0.4

Flutter Android iOS

A new Flutter Open Browser Android plugin. Support open browser with url and show error with toast or dialog. Plugin only support Android and not support ios. You can open a url with default browser o

flutter_open_browser #

A flutter plugin to open a url with default browser or select browser

This plugin is under development, APIs might change.

Installation

Install the library from pub:

dependencies:
  flutter_open_browser: ^1.0.3

Import the library

import 'package:flutter_open_browser/flutter_open_browser.dart';
Open the web page
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);
0
likes
80
pub points
22%
popularity

A new Flutter Open Browser Android plugin. Support open browser with url and show error with toast or dialog. Plugin only support Android and not support ios. You can open a url with default browser or select browser on devicde.

Homepage

Documentation

API reference

Uploader

binhtm3@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_open_browser