From bbd2061d5f31435144256af580b6bc2313a0bff0 Mon Sep 17 00:00:00 2001 From: Koen Van Looveren Date: Sun, 18 Feb 2024 10:40:03 +0100 Subject: [PATCH] fix: formatting --- example/lib/src/screen/home_screen.dart | 3 ++- lib/src/components/listview/impaktfull_listview.dart | 3 ++- .../separated_column/impaktfull_separated_column.dart | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/example/lib/src/screen/home_screen.dart b/example/lib/src/screen/home_screen.dart index 88e2c55..7b63c29 100644 --- a/example/lib/src/screen/home_screen.dart +++ b/example/lib/src/screen/home_screen.dart @@ -14,7 +14,8 @@ class HomeScreen extends StatelessWidget { children: [ ImpaktfullButton.primary( label: 'Components', - onTap: () => Navigator.of(context).push(MaterialPageRoute(builder: (context) => const ComponentsScreen())), + onTap: () => Navigator.of(context).push(MaterialPageRoute( + builder: (context) => const ComponentsScreen())), ), ], ), diff --git a/lib/src/components/listview/impaktfull_listview.dart b/lib/src/components/listview/impaktfull_listview.dart index c019cdf..bf66b15 100644 --- a/lib/src/components/listview/impaktfull_listview.dart +++ b/lib/src/components/listview/impaktfull_listview.dart @@ -77,7 +77,8 @@ class ImpaktfullListView extends StatelessWidget { return ListView.separated( padding: padding, itemBuilder: (context, index) => itemBuilder!(context, items![index]), - separatorBuilder: (context, index) => ImpaktfullSeparator(type: separatorType!), + separatorBuilder: (context, index) => + ImpaktfullSeparator(type: separatorType!), itemCount: items!.length, ); } diff --git a/lib/src/components/separated_column/impaktfull_separated_column.dart b/lib/src/components/separated_column/impaktfull_separated_column.dart index 17301cc..9d8bf36 100644 --- a/lib/src/components/separated_column/impaktfull_separated_column.dart +++ b/lib/src/components/separated_column/impaktfull_separated_column.dart @@ -16,7 +16,9 @@ class ImpaktfullSeparatedColumn extends StatelessWidget { builder: (context, theme) => Container( decoration: BoxDecoration( borderRadius: BorderRadius.circular(theme.dimens.generalBorderRadius), - color: type == ImpaktfullSeparatorType.canvas ? Colors.transparent : theme.colors.card, + color: type == ImpaktfullSeparatorType.canvas + ? Colors.transparent + : theme.colors.card, ), child: Column( children: children.isEmpty