Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-09-04 12:25:02 +08:00
parent f0c4d3412d
commit f0828ea18c
6 changed files with 21 additions and 17 deletions

View File

@@ -254,7 +254,7 @@ class _CustomGridViewDelegate extends MultiChildLayoutDelegate {
@override
void performLayout(Size size) {
final constraints = BoxConstraints.loose(Size(width, height));
final constraints = BoxConstraints.expand(width: width, height: height);
for (int i = 0; i < itemCount; i++) {
layoutChild(i, constraints);
positionChild(