mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-08 23:18:16 -07:00
Set iconSize for navigationButtons
This commit is contained in:
parent
6c8aea736d
commit
6c71a8e63d
1 changed files with 1 additions and 0 deletions
|
|
@ -60,6 +60,7 @@ class _NavigationButtonState extends ConsumerState<NavigationButton> {
|
||||||
elevation: const WidgetStatePropertyAll(0),
|
elevation: const WidgetStatePropertyAll(0),
|
||||||
padding: const WidgetStatePropertyAll(EdgeInsets.zero),
|
padding: const WidgetStatePropertyAll(EdgeInsets.zero),
|
||||||
backgroundColor: const WidgetStatePropertyAll(Colors.transparent),
|
backgroundColor: const WidgetStatePropertyAll(Colors.transparent),
|
||||||
|
iconSize: const WidgetStatePropertyAll(24),
|
||||||
iconColor: WidgetStateProperty.resolveWith((states) {
|
iconColor: WidgetStateProperty.resolveWith((states) {
|
||||||
return widget.selected
|
return widget.selected
|
||||||
? Theme.of(context).colorScheme.primary
|
? Theme.of(context).colorScheme.primary
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue