Format update.
This commit is contained in:
parent
b31cc38fad
commit
e3ca2a6a32
|
@ -394,10 +394,16 @@ class EpisodeGrid extends StatelessWidget {
|
||||||
options: options,
|
options: options,
|
||||||
itemCount: episodes.length,
|
itemCount: episodes.length,
|
||||||
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
|
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
|
||||||
childAspectRatio:
|
childAspectRatio: layout == Layout.three
|
||||||
layout == Layout.three ? 1 : layout == Layout.two ? 1.5 : 4,
|
? 1
|
||||||
crossAxisCount:
|
: layout == Layout.two
|
||||||
layout == Layout.three ? 3 : layout == Layout.two ? 2 : 1,
|
? 1.5
|
||||||
|
: 4,
|
||||||
|
crossAxisCount: layout == Layout.three
|
||||||
|
? 3
|
||||||
|
: layout == Layout.two
|
||||||
|
? 2
|
||||||
|
: 1,
|
||||||
mainAxisSpacing: 6.0,
|
mainAxisSpacing: 6.0,
|
||||||
crossAxisSpacing: 6.0,
|
crossAxisSpacing: 6.0,
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue