opt: card width

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-12 10:46:39 +08:00
parent 226d554249
commit 12a236f397
36 changed files with 92 additions and 61 deletions

View File

@@ -4,7 +4,8 @@ import 'package:flutter/rendering.dart';
import 'storage.dart';
class Grid {
static double maxRowWidth = GStorage.maxRowWidth;
static double mediumCardWidth = GStorage.mediumCardWidth;
static double smallCardWidth = GStorage.smallCardWidth;
//
// static double calculateActualWidth(BuildContext context, double maxCrossAxisExtent, double crossAxisSpacing, {double? screenWidthOffset}) {
// double screenWidth = MediaQuery.of(context).size.width;