mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: anim save panel
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -286,6 +286,10 @@ class _SavePanelState extends State<SavePanel> {
|
|||||||
color: Theme.of(context).colorScheme.surface,
|
color: Theme.of(context).colorScheme.surface,
|
||||||
borderRadius: BorderRadius.circular(12),
|
borderRadius: BorderRadius.circular(12),
|
||||||
),
|
),
|
||||||
|
child: AnimatedSize(
|
||||||
|
curve: Curves.easeInOut,
|
||||||
|
alignment: Alignment.topCenter,
|
||||||
|
duration: const Duration(milliseconds: 255),
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
@@ -376,7 +380,8 @@ class _SavePanelState extends State<SavePanel> {
|
|||||||
children: [
|
children: [
|
||||||
Expanded(
|
Expanded(
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize:
|
||||||
|
MainAxisSize.min,
|
||||||
crossAxisAlignment:
|
crossAxisAlignment:
|
||||||
CrossAxisAlignment.end,
|
CrossAxisAlignment.end,
|
||||||
children: [
|
children: [
|
||||||
@@ -385,10 +390,11 @@ class _SavePanelState extends State<SavePanel> {
|
|||||||
Text(
|
Text(
|
||||||
'@$uname',
|
'@$uname',
|
||||||
maxLines: 1,
|
maxLines: 1,
|
||||||
overflow:
|
overflow: TextOverflow
|
||||||
TextOverflow.ellipsis,
|
.ellipsis,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: Theme.of(context)
|
color:
|
||||||
|
Theme.of(context)
|
||||||
.colorScheme
|
.colorScheme
|
||||||
.primary,
|
.primary,
|
||||||
),
|
),
|
||||||
@@ -424,7 +430,8 @@ class _SavePanelState extends State<SavePanel> {
|
|||||||
Container(
|
Container(
|
||||||
width: 100,
|
width: 100,
|
||||||
height: 100,
|
height: 100,
|
||||||
padding: const EdgeInsets.all(12),
|
padding:
|
||||||
|
const EdgeInsets.all(12),
|
||||||
child: Container(
|
child: Container(
|
||||||
color: Get.isDarkMode
|
color: Get.isDarkMode
|
||||||
? Colors.white
|
? Colors.white
|
||||||
@@ -470,6 +477,7 @@ class _SavePanelState extends State<SavePanel> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
Positioned(
|
Positioned(
|
||||||
left: 0,
|
left: 0,
|
||||||
right: 0,
|
right: 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user