mod: format code

This commit is contained in:
guozhigq
2024-01-07 12:58:24 +08:00
parent 7a71798055
commit fa8fd42e9a
104 changed files with 1077 additions and 1032 deletions

View File

@ -1,11 +1,12 @@
import 'package:flutter/services.dart';
import 'package:hive/hive.dart';
import 'package:pilipala/utils/storage.dart';
import 'storage.dart';
Box setting = GStrorage.setting;
Box<dynamic> setting = GStrorage.setting;
void feedBack() {
// 设置中是否开启
bool enable = setting.get(SettingBoxKey.feedBackEnable, defaultValue: false);
final bool enable =
setting.get(SettingBoxKey.feedBackEnable, defaultValue: false) as bool;
if (enable) {
HapticFeedback.lightImpact();
}