main.dart 546 B

123456789101112131415161718192021222324
  1. import 'package:flutter/material.dart';
  2. import 'package:flutter_audio_recorder/pages/home_page.dart';
  3. void main() {
  4. runApp(const MyApp());
  5. }
  6. class MyApp extends StatelessWidget {
  7. const MyApp({Key? key}) : super(key: key);
  8. @override
  9. Widget build(BuildContext context) {
  10. return MaterialApp(
  11. title: '录音机',
  12. debugShowCheckedModeBanner: false,
  13. theme: ThemeData(
  14. primarySwatch: Colors.blue,
  15. visualDensity: VisualDensity.adaptivePlatformDensity,
  16. ),
  17. home: const HomePage(),
  18. );
  19. }
  20. }