amplify_api_ios 1.0.0-next.3 amplify_api_ios: ^1.0.0-next.3 copied to clipboard
The package containing the method channel implementation for amplify_api on iOS
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({Key? key}) : super(key: key);
@override
State<MyApp> 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(
'This application serves as a test bed for the iOS implementation of the amplify_api method channel. Please see the example app in the main amplify_api repository for a functional example app.'),
),
),
);
}
}