improve mobile ui

This commit is contained in:
wgh19
2024-05-15 09:01:27 +08:00
parent f8c3514956
commit c60caad531
13 changed files with 97 additions and 65 deletions

View File

@@ -16,4 +16,8 @@ extension Navigation on BuildContext {
void showToast({required String message, IconData? icon}) {
overlay.showToast(this, message: message, icon: icon);
}
Size get size => MediaQuery.of(this).size;
EdgeInsets get padding => MediaQuery.of(this).padding;
}