mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 12:23:43 +08:00
fix: AboutUI
This commit is contained in:
parent
0b1b0ec5c6
commit
51393317b1
@ -61,24 +61,27 @@ class AboutUI extends HookConsumerWidget {
|
|||||||
Row(
|
Row(
|
||||||
children: [
|
children: [
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
Container(
|
AnimatedSize(
|
||||||
width: MediaQuery.of(context).size.width * .35,
|
duration: const Duration(milliseconds: 200),
|
||||||
decoration: BoxDecoration(
|
child: Container(
|
||||||
color: FluentTheme.of(context).cardColor.withOpacity(.01),
|
width: MediaQuery.of(context).size.width * .35,
|
||||||
borderRadius: BorderRadius.circular(12)),
|
decoration: BoxDecoration(
|
||||||
child: IconButton(
|
color: FluentTheme.of(context).cardColor.withOpacity(.06),
|
||||||
icon: Padding(
|
borderRadius: BorderRadius.circular(12)),
|
||||||
padding: const EdgeInsets.all(3),
|
child: IconButton(
|
||||||
child: Text(
|
icon: Padding(
|
||||||
isTipTextCn.value ? tipTextCN : tipTextEN,
|
padding: const EdgeInsets.all(3),
|
||||||
textAlign: TextAlign.start,
|
child: Text(
|
||||||
style: TextStyle(
|
isTipTextCn.value ? tipTextCN : tipTextEN,
|
||||||
fontSize: 12, color: Colors.white.withOpacity(.9)),
|
textAlign: TextAlign.start,
|
||||||
|
style: TextStyle(
|
||||||
|
fontSize: 12, color: Colors.white.withOpacity(.9)),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
|
onPressed: () {
|
||||||
|
isTipTextCn.value = !isTipTextCn.value;
|
||||||
|
},
|
||||||
),
|
),
|
||||||
onPressed: () {
|
|
||||||
isTipTextCn.value = !isTipTextCn.value;
|
|
||||||
},
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(width: 12),
|
const SizedBox(width: 12),
|
||||||
|
Loading…
Reference in New Issue
Block a user