opt: card width

Closes #142

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-12 09:56:18 +08:00
parent 3d7583d376
commit f8dc7ece2d
3 changed files with 3 additions and 4 deletions

View File

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