flutter_amplify_sdk 0.0.1 copy "flutter_amplify_sdk: ^0.0.1" to clipboard
flutter_amplify_sdk: ^0.0.1 copied to clipboard

outdated

Flutter plugin aws cognito and api

example/lib/main.dart

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

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

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

class _MyAppState extends State<MyApp> {

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
          appBar: AppBar(
            title: const Text('Flutter Amplify Plugin'),
          ),
          body: Authentication()
      ),
    );
  }
}