main.dart 776 B

12345678910111213141516171819202122232425262728
  1. import 'package:flutter/material.dart';
  2. import 'package:flutter_paydemo/pages/home_page.dart';
  3. void main() {
  4. // fluwx.registerWxApi(appId: 'your_app_id', doOnAndroid: true, doOnIOS: true);
  5. // StripePayment.setOptions(StripeOptions(
  6. // publishableKey: "your_publishable_key",
  7. // merchantId: "Test",
  8. // androidPayMode: 'test'));
  9. runApp(const MyApp());
  10. }
  11. class MyApp extends StatelessWidget {
  12. const MyApp({super.key});
  13. // This widget is the root of your application.
  14. @override
  15. Widget build(BuildContext context) {
  16. return MaterialApp(
  17. title: 'Flutter Demo',
  18. theme: ThemeData(
  19. colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
  20. useMaterial3: true,
  21. ),
  22. home: const HomePage(),
  23. );
  24. }
  25. }