From 775e4bfcb5a23df1308ff6ee91fad887f85c8f3b Mon Sep 17 00:00:00 2001 From: Sol Mendiola Date: Tue, 19 Dec 2023 13:42:59 -0300 Subject: [PATCH] fix linter error --- catalog/gallery/lib/catalog/catalog_app_colors_screen.dart | 1 - catalog/gallery/lib/catalog/catalog_scaffold_screen.dart | 2 +- catalog/lib/theme/app_theme.dart | 3 ++- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/catalog/gallery/lib/catalog/catalog_app_colors_screen.dart b/catalog/gallery/lib/catalog/catalog_app_colors_screen.dart index 04fa265..6ae2946 100644 --- a/catalog/gallery/lib/catalog/catalog_app_colors_screen.dart +++ b/catalog/gallery/lib/catalog/catalog_app_colors_screen.dart @@ -11,7 +11,6 @@ class CatalogAppColorsScreen extends StatelessWidget { Widget build(BuildContext context) => CatalogScaffold( title: 'COLORS', child: ListView.separated( - shrinkWrap: true, separatorBuilder: (BuildContext context, int index) => const Divider(), itemCount: _CatalogColors.values.length, diff --git a/catalog/gallery/lib/catalog/catalog_scaffold_screen.dart b/catalog/gallery/lib/catalog/catalog_scaffold_screen.dart index d7c0101..1fdc41a 100644 --- a/catalog/gallery/lib/catalog/catalog_scaffold_screen.dart +++ b/catalog/gallery/lib/catalog/catalog_scaffold_screen.dart @@ -34,7 +34,7 @@ class CatalogScaffold extends StatelessWidget { ), ), ), - backgroundColor: context.theme.customColors.textColor!.getShade(1000), + backgroundColor: context.theme.customColors.textColor!.getShade(100), body: SafeArea( child: child, ), diff --git a/catalog/lib/theme/app_theme.dart b/catalog/lib/theme/app_theme.dart index 77aff99..164fb0e 100644 --- a/catalog/lib/theme/app_theme.dart +++ b/catalog/lib/theme/app_theme.dart @@ -34,5 +34,6 @@ extension ThemeExtensions on ThemeData { CustomTextStyles get customTextStyles => extension()!; - TextTheme get textStyles => AppTextStyles.getDefaultAppStyles().getThemeData(); + TextTheme get textStyles => + AppTextStyles.getDefaultAppStyles().getThemeData(); }