1
0
mirror of https://github.com/stonega/tsacdop synced 2025-02-08 07:38:47 +01:00

Format update.

This commit is contained in:
stonegate 2020-10-11 18:09:53 +08:00
parent b31cc38fad
commit e3ca2a6a32

View File

@ -394,10 +394,16 @@ class EpisodeGrid extends StatelessWidget {
options: options,
itemCount: episodes.length,
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
childAspectRatio:
layout == Layout.three ? 1 : layout == Layout.two ? 1.5 : 4,
crossAxisCount:
layout == Layout.three ? 3 : layout == Layout.two ? 2 : 1,
childAspectRatio: layout == Layout.three
? 1
: layout == Layout.two
? 1.5
: 4,
crossAxisCount: layout == Layout.three
? 3
: layout == Layout.two
? 2
: 1,
mainAxisSpacing: 6.0,
crossAxisSpacing: 6.0,
),