cookie_web_view 0.2.1 copy "cookie_web_view: ^0.2.1" to clipboard
cookie_web_view: ^0.2.1 copied to clipboard

A plugin for listen real web view cookie. You can use the plugin for the auth by social media. Originaly the plugin created for https://github.com/jordan1997/radio-t-client

example/lib/main.dart

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

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: CookieWebView(
          onWebViewCreated: (CookieWebViewController controller) {
            controller.openUrl("https://google.com");
            controller.onCookieChange.listen((data) {
              data.forEach((key, value) => print('key : $key, value : $value'));
            });
          },
        ),
      ),
    );
  }
}
2
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A plugin for listen real web view cookie. You can use the plugin for the auth by social media. Originaly the plugin created for https://github.com/jordan1997/radio-t-client

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on cookie_web_view