|
@@ -98,28 +98,41 @@ class App extends StatelessWidget {
|
|
|
child: const SizedBox.shrink(), // 不显示任何东西
|
|
child: const SizedBox.shrink(), // 不显示任何东西
|
|
|
),
|
|
),
|
|
|
),
|
|
),
|
|
|
- if (Configs.debug)
|
|
|
|
|
- Positioned(
|
|
|
|
|
- bottom: 100,
|
|
|
|
|
- right: 10,
|
|
|
|
|
- child: ClickOpacity(
|
|
|
|
|
- child: Container(
|
|
|
|
|
- width: 40,
|
|
|
|
|
- height: 40,
|
|
|
|
|
- decoration: BoxDecoration(
|
|
|
|
|
- color: Get.reactiveTheme.primaryColor.withValues(
|
|
|
|
|
- alpha: 0.5,
|
|
|
|
|
- ),
|
|
|
|
|
- borderRadius: BorderRadius.circular(40),
|
|
|
|
|
- ),
|
|
|
|
|
- child: Icon(Icons.adb, color: Get.reactiveTheme.primaryColor),
|
|
|
|
|
- ),
|
|
|
|
|
- onTap: () {
|
|
|
|
|
- // 使用简化版开发者工具
|
|
|
|
|
- IXDeveloperTools.show();
|
|
|
|
|
- },
|
|
|
|
|
- ),
|
|
|
|
|
|
|
+ Positioned(
|
|
|
|
|
+ top: 100,
|
|
|
|
|
+ right: 0,
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ height: 100,
|
|
|
|
|
+ child: TripleTapDetector(
|
|
|
|
|
+ requiredTaps: 10,
|
|
|
|
|
+ onTripleTap: () async {
|
|
|
|
|
+ IXDeveloperTools.show();
|
|
|
|
|
+ },
|
|
|
|
|
+ child: const SizedBox.shrink(), // 不显示任何东西
|
|
|
),
|
|
),
|
|
|
|
|
+ ),
|
|
|
|
|
+ // if (Configs.debug)
|
|
|
|
|
+ // Positioned(
|
|
|
|
|
+ // bottom: 100,
|
|
|
|
|
+ // right: 10,
|
|
|
|
|
+ // child: ClickOpacity(
|
|
|
|
|
+ // child: Container(
|
|
|
|
|
+ // width: 40,
|
|
|
|
|
+ // height: 40,
|
|
|
|
|
+ // decoration: BoxDecoration(
|
|
|
|
|
+ // color: Get.reactiveTheme.primaryColor.withValues(
|
|
|
|
|
+ // alpha: 0.5,
|
|
|
|
|
+ // ),
|
|
|
|
|
+ // borderRadius: BorderRadius.circular(40),
|
|
|
|
|
+ // ),
|
|
|
|
|
+ // child: Icon(Icons.adb, color: Get.reactiveTheme.primaryColor),
|
|
|
|
|
+ // ),
|
|
|
|
|
+ // onTap: () {
|
|
|
|
|
+ // // 使用简化版开发者工具
|
|
|
|
|
+ // IXDeveloperTools.show();
|
|
|
|
|
+ // },
|
|
|
|
|
+ // ),
|
|
|
|
|
+ // ),
|
|
|
],
|
|
],
|
|
|
),
|
|
),
|
|
|
);
|
|
);
|