amplify_api_android 1.0.0-next.1 amplify_api_android: ^1.0.0-next.1 copied to clipboard
The method channel implementation for amplify_api on Android
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
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 Android implementation of the amplify_api method channel. Please see the example app in the main amplify_api repository for a functional example app.'),
),
),
);
}
}