web_browser 0.7.1 copy "web_browser: ^0.7.1" to clipboard
web_browser: ^0.7.1 copied to clipboard

A cross-platform Flutter widget for displaying websites and other web content. Has navigation Cupertino/Material buttons and takes care of complex platform differences.

example/lib/main.dart

import 'package:flutter/cupertino.dart';
import 'package:web_browser/web_browser.dart';

void main() {
  const app = CupertinoApp(
    title: 'Example',
    debugShowCheckedModeBanner: false,
    home: CupertinoPageScaffold(
      child: SafeArea(
        child: Browser(
          initialUriString: 'https://flutter.dev/',
        ),
      ),
    ),
  );
  // const app = MaterialApp(
  //   title: 'Example',
  //   debugShowCheckedModeBanner: false,
  //   home: Scaffold(
  //     body: SafeArea(
  //       child: Browser(
  //         initialUriString: 'https://flutter.dev/',
  //       ),
  //     ),
  //   ),
  // );

  runApp(app);
}
69
likes
0
pub points
89%
popularity

Publisher

verified publisherdint.dev

A cross-platform Flutter widget for displaying websites and other web content. Has navigation Cupertino/Material buttons and takes care of complex platform differences.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

cupertino_icons, flutter, share_plus, webview_flutter, webview_flutter_android, webview_flutter_web, webview_flutter_wkwebview

More

Packages that depend on web_browser