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

The base package containing common types and utilities that are shared across the Amplify Flutter packages.

example/lib/main.dart

//
// Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License").
// You may not use this file except in compliance with the License.
// A copy of the License is located at
//
//  http://aws.amazon.com/apache2.0
//
// or in the "license" file accompanying this file. This file is distributed
// on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
// express or implied. See the License for the specific language governing
// permissions and limitations under the License.
//

import 'package:flutter/material.dart';

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

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @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: const Center(
          child: Text('A simple flutter example\n'),
        ),
      ),
    );
  }
}
41
likes
110
pub points
93%
popularity

Publisher

verified publisheraws-amplify.com

The base package containing common types and utilities that are shared across the Amplify Flutter packages.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

aws_common, collection, flutter, intl, json_annotation, meta, plugin_platform_interface, uuid

More

Packages that depend on amplify_core