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

Launch your URL inside a in app webview, Features (Launching a URL, Go to the previous link, Go to the next link, Share the current link, Refresh the current link).

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,
      ),
    );
  }
}
14
likes
110
pub points
85%
popularity

Publisher

unverified uploader

Launch your URL inside a in app webview, Features (Launching a URL, Go to the previous link, Go to the next link, Share the current link, Refresh the current link).

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

flutter, share_plus, webview_flutter

More

Packages that depend on in_app_webview