Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 
pilo 77def66498 first commit il y a 2 semaines
example first commit il y a 2 semaines
lib first commit il y a 2 semaines
linux first commit il y a 2 semaines
macos first commit il y a 2 semaines
test first commit il y a 2 semaines
windows first commit il y a 2 semaines
CHANGELOG.md first commit il y a 2 semaines
LICENSE first commit il y a 2 semaines
README.md first commit il y a 2 semaines
analysis_options.yaml first commit il y a 2 semaines
pubspec.yaml first commit il y a 2 semaines

README.md

Webview Universal

Webview universal yang mudah di gunakan

Tested On

OS Tested
Android Tested
Linux Tested
Windows Tested
ios Not Tested
Web Tested
macOS Not Tested
import 'package:flutter/material.dart';
import "package:webview_universal/webview_universal.dart";

void main(List<String> args) {
  runApp(const MaterialApp(
    home: MyApp(),
  ));
}

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

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  WebViewController webViewController = WebViewController();

  @override
  void initState() {
    super.initState();
    task();
  }

  Future<void> task() async {
    await webViewController.init(
      context: context,
      uri: Uri.parse("https://flutter.dev"),
    );
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: WebView(
        controller: webViewController,
      ),
    );
  }
}