in_app_webview 0.0.6 copy "in_app_webview: ^0.0.6" to clipboard
in_app_webview: ^0.0.6 copied to clipboard

Launch your URL inside a webview.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:in_app_webview/in_app_webview.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: InAppWebView(
        "https://www.google.com/",
        mDirection: TextDirection.ltr,
        appBarBGColor: const Color(0xFF262626),
        bottomNavColor: const Color(0xFF262626),
        defaultTitle: true,
        backIcon: const Icon(Icons.arrow_back_ios, color: Colors.white),
        nextIcon: const Icon(Icons.arrow_forward_ios, color: Colors.white),
        closeIcon: const Icon(Icons.close, color: Colors.white),
        shareIcon: const Icon(Icons.share, color: Colors.white),
        refreshIcon: const Icon(Icons.refresh, color: Colors.white),
        actionWidget: const [],
        actionsIconTheme: const IconThemeData(),
        centerTitle: true,
        titleTextStyle: const TextStyle(),
        toolbarTextStyle: const TextStyle(),
        toolbarHeight: 56,
      ),
    );
  }
}
15
likes
0
pub points
83%
popularity

Publisher

unverified uploader

Launch your URL inside a webview.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, share_plus, webview_flutter

More

Packages that depend on in_app_webview