摘要:
### 主题 ``` // 1.main主文件 import 'package:flutter_smart_park/config/theme.dart' show AppTheme; Provide.value(context).$getTheme(); Provide( builder: (context, child, configModel) { return Mate... 阅读全文
摘要:
### 监听手机返回键(双击退出) ``` import 'package:fluttertoast/fluttertoast.dart'; //提示插件 class WillPopScopeTestRoute extends StatefulWidget { @override WillPopScopeTestRouteState createState() { retur... 阅读全文