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(new MyProduceApp());
- }
- class MyProduceApp extends StatelessWidget {
- @override
- Widget build(BuildContext context) {
- return new MaterialApp(
- debugShowCheckedModeBanner: false,
- routes: {
- "/": (_) => new WebviewScaffold(
- url: "http://my.producetools.com",
- appBar: new AppBar(
- backgroundColor: Colors.indigo,
- title: new Text("My Produce Tools"),
- ),
- withJavascript: true,
- )
- },
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement