webview_all 0.1.1 copy "webview_all: ^0.1.1" to clipboard
webview_all: ^0.1.1 copied to clipboard

outdated

A webview component with full platform support, based on the existing package.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:webview_all/webview_all.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Webview',
      theme: ThemeData(
        primarySwatch: Colors.blueGrey,
      ),
      home: const MyHomePage(title: 'Flutter Webview Demo'),
      debugShowCheckedModeBanner: false,
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: Text(widget.title),
        ),
        body:
            const Webview(url: "https://flutter.dev/", appName: "Hello World"));
  }
}
54
likes
0
points
2.12k
downloads

Publisher

verified publisherabandoft.com

Weekly Downloads

A webview component with full platform support, based on the existing package.

Homepage

License

unknown (license)

Dependencies

desktop_webview_window, flutter, webview_flutter, webview_flutter_platform_interface, webview_flutter_web, webview_flutter_wkwebview

More

Packages that depend on webview_all