The Webview Univeral Flutter package for Appeto SDK.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 
pilo 0deb1eae1c first commit 1 ano atrás
example first commit 1 ano atrás
lib first commit 1 ano atrás
linux first commit 1 ano atrás
macos first commit 1 ano atrás
test first commit 1 ano atrás
windows first commit 1 ano atrás
CHANGELOG.md first commit 1 ano atrás
LICENSE first commit 1 ano atrás
README.md first commit 1 ano atrás
analysis_options.yaml first commit 1 ano atrás
pubspec.yaml first commit 1 ano atrás

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