Set iconSize for navigationButtons

This commit is contained in:
PartyDonut 2025-01-05 14:13:40 +01:00
parent 6c8aea736d
commit 6c71a8e63d

View file

@ -60,6 +60,7 @@ class _NavigationButtonState extends ConsumerState<NavigationButton> {
elevation: const WidgetStatePropertyAll(0),
padding: const WidgetStatePropertyAll(EdgeInsets.zero),
backgroundColor: const WidgetStatePropertyAll(Colors.transparent),
iconSize: const WidgetStatePropertyAll(24),
iconColor: WidgetStateProperty.resolveWith((states) {
return widget.selected
? Theme.of(context).colorScheme.primary