Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
vanlooverenkoen committed Feb 18, 2024
1 parent 74cc65f commit bbd2061
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion example/lib/src/screen/home_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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())),
),
],
),
Expand Down
3 changes: 2 additions & 1 deletion lib/src/components/listview/impaktfull_listview.dart
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ class ImpaktfullListView<T> 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,
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bbd2061

Please sign in to comment.