mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: lint
mod: tweaks opt: publish page Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -3,12 +3,13 @@ import 'dart:math';
|
||||
import 'package:PiliPlus/common/constants.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/rendering.dart';
|
||||
import 'storage.dart';
|
||||
import 'package:PiliPlus/utils/storage.dart';
|
||||
|
||||
class Grid {
|
||||
static double smallCardWidth = GStorage.smallCardWidth;
|
||||
|
||||
static videoCardHDelegate(context, {double minHeight = 90}) =>
|
||||
static SliverGridDelegateWithExtentAndRatio videoCardHDelegate(context,
|
||||
{double minHeight = 90}) =>
|
||||
SliverGridDelegateWithExtentAndRatio(
|
||||
mainAxisSpacing: 2,
|
||||
maxCrossAxisExtent: Grid.smallCardWidth * 2,
|
||||
|
||||
Reference in New Issue
Block a user