flutter_amazonpaymentservices 0.0.2 flutter_amazonpaymentservices: ^0.0.2 copied to clipboard
Flutter package for Amazon Payment Services native mobile SDKs
import 'package:flutter/material.dart';
import 'package:flutter_amazonpaymentservices_example/ui/main/main_screen.dart';
import 'package:get/get_navigation/src/root/get_material_app.dart';
import 'package:get_storage/get_storage.dart';
Future<void> main() async {
await GetStorage.init();
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 GetMaterialApp(
theme: ThemeData.light(),
home: const MainScreen(),
);
}
}