選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 
 
pilo 77def66498 first commit 6ヶ月前
example first commit 6ヶ月前
lib first commit 6ヶ月前
linux first commit 6ヶ月前
macos first commit 6ヶ月前
test first commit 6ヶ月前
windows first commit 6ヶ月前
CHANGELOG.md first commit 6ヶ月前
LICENSE first commit 6ヶ月前
README.md first commit 6ヶ月前
analysis_options.yaml first commit 6ヶ月前
pubspec.yaml first commit 6ヶ月前

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,
      ),
    );
  }
}