amplify_core 0.2.0 copy "amplify_core: ^0.2.0" to clipboard
amplify_core: ^0.2.0 copied to clipboard

outdated

The base package shared across Amplify Flutter library.

example/lib/main.dart

import 'package:flutter/material.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(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: Text('A simple flutter example\n'),
        ),
      ),
    );
  }
}