muzos_authenticator 0.0.3 copy "muzos_authenticator: ^0.0.3" to clipboard
muzos_authenticator: ^0.0.3 copied to clipboard

A plugin that uses dart:js to open auth url in new tab on web or webview for mobile.

example/lib/main.dart

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

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

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {

  @override
  void initState() {
    super.initState();
    initPlatformState();
  }

  // Platform messages are asynchronous, so we initialize in an async method.
  Future<void> initPlatformState() async {

  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: const Center(
          child: Text('Running on:'),
        ),
      ),
    );
  }
}
1
likes
130
points
27
downloads

Publisher

unverified uploader

Weekly Downloads

A plugin that uses dart:js to open auth url in new tab on web or webview for mobile.

Documentation

API reference

License

unknown (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface

More

Packages that depend on muzos_authenticator