助记词转换

This commit is contained in:
2022-10-19 17:19:56 +08:00
parent 153e28aa4e
commit 2ddccb3f9d
15 changed files with 537 additions and 43 deletions

15
lib/utils/ui_tools.dart Normal file
View File

@@ -0,0 +1,15 @@
import 'package:chat/configs/app_colors.dart';
import 'package:fluttertoast/fluttertoast.dart';
class UiTools {
/// 普通的消息提醒
static void toast(String message) {
Fluttertoast.showToast(
msg: message,
gravity: ToastGravity.CENTER,
toastLength: Toast.LENGTH_SHORT,
backgroundColor: AppColors.active.withAlpha(0x90),
fontSize: 14,
);
}
}