mirror of
https://github.com/stonega/tsacdop
synced 2025-02-08 07:38:47 +01:00
Format update.
This commit is contained in:
parent
b31cc38fad
commit
e3ca2a6a32
@ -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,
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user