Align icons in account dialog

This commit is contained in:
Ming Ming 2023-08-06 01:07:10 +08:00
parent 2c6351dc9b
commit dd78b99dee

View file

@ -235,11 +235,15 @@ class _AccountDropdown extends StatelessWidget {
return AnimatedRotation( return AnimatedRotation(
turns: state.isOpenDropdown ? .5 : 0, turns: state.isOpenDropdown ? .5 : 0,
duration: k.animationDurationShort, duration: k.animationDurationShort,
child: Icon( child: IgnorePointer(
Icons.keyboard_arrow_down_outlined, ignoring: true,
child: IconButton(
onPressed: () {},
color: state.isOpenDropdown color: state.isOpenDropdown
? Theme.of(context).colorScheme.primary ? Theme.of(context).colorScheme.primary
: null, : null,
icon: const Icon(Icons.keyboard_arrow_down_outlined),
),
), ),
); );
}, },