1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

[linting_tool] Prepare for release (#880)

This commit is contained in:
Abdullah Deshmukh
2021-08-23 16:26:55 -07:00
committed by GitHub
parent 0aad30fc5b
commit 410e43fbc1
22 changed files with 117 additions and 47 deletions

View File

@@ -27,19 +27,19 @@ class HomePage extends StatelessWidget {
? 60.0
: isDesktop
? 120.0
: 4.0;
: 16.0;
final endPadding = isTablet
? 60.0
: isDesktop
? 120.0
: 4.0;
: 16.0;
return ListView.separated(
padding: EdgeInsetsDirectional.only(
start: startPadding,
end: endPadding,
top: isDesktop ? 28 : 0,
bottom: isDesktop ? kToolbarHeight : 0,
top: isDesktop ? 28 : 16,
bottom: isDesktop ? kToolbarHeight : 16,
),
itemCount: rulesStore.rules.length,
cacheExtent: 5,