app bar and log details page

This commit is contained in:
shenlong-tanwen
2024-10-24 01:46:10 +05:30
parent a0afea04d8
commit 5385d43c8c
12 changed files with 183 additions and 8 deletions
@@ -14,6 +14,8 @@ abstract final class SizeConstants {
abstract final class RatioConstants {
const RatioConstants._();
// 0.5
static const oneHalf = 1 / 2;
// 0.3
static const oneThird = 1 / 3;
// 0.25
@@ -10,4 +10,9 @@ abstract final class SnackbarManager {
_s?.clearSnackBars();
_s?.showSnackBar(SnackBar(content: Text(errorMsg)));
}
static void showText({required String content, TextStyle? style}) {
_s?.clearSnackBars();
_s?.showSnackBar(SnackBar(content: Text(content, style: style)));
}
}