Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import 'package:flutter/material.dart';
- import 'package:flutter_webview_plugin/flutter_webview_plugin.dart';
- void main () => runApp(MaterialApp(
- home: MyApp(),
- debugShowCheckedModeBanner: false,
- theme: ThemeData(
- primarySwatch: Colors.purple,
- ),
- ));
- class MyApp extends StatefulWidget {
- @override
- _MyAppState createState() => _MyAppState();
- }
- class _MyAppState extends State<MyApp> {
- @override
- Widget build(BuildContext context) {
- return WebviewScaffold(
- appBar: AppBar(
- title: Text("Browser"),
- ),
- url: "https://google.com.br",
- withZoom:true
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement