fix: AboutUI

This commit is contained in:
xkeyC 2024-03-11 20:48:56 +08:00
parent 0b1b0ec5c6
commit 51393317b1

View File

@ -61,10 +61,12 @@ class AboutUI extends HookConsumerWidget {
Row( Row(
children: [ children: [
const Spacer(), const Spacer(),
Container( AnimatedSize(
duration: const Duration(milliseconds: 200),
child: Container(
width: MediaQuery.of(context).size.width * .35, width: MediaQuery.of(context).size.width * .35,
decoration: BoxDecoration( decoration: BoxDecoration(
color: FluentTheme.of(context).cardColor.withOpacity(.01), color: FluentTheme.of(context).cardColor.withOpacity(.06),
borderRadius: BorderRadius.circular(12)), borderRadius: BorderRadius.circular(12)),
child: IconButton( child: IconButton(
icon: Padding( icon: Padding(
@ -81,6 +83,7 @@ class AboutUI extends HookConsumerWidget {
}, },
), ),
), ),
),
const SizedBox(width: 12), const SizedBox(width: 12),
], ],
), ),