ДА НЕ КНОПКА ЭТО!!!
This commit is contained in:
@@ -335,23 +335,33 @@ class _LoginScreenState extends State<LoginScreen> {
|
|||||||
duration: const Duration(milliseconds: 300),
|
duration: const Duration(milliseconds: 300),
|
||||||
opacity: progress == 1.0 ? 1.0 : 0.0,
|
opacity: progress == 1.0 ? 1.0 : 0.0,
|
||||||
curve: Curves.easeIn,
|
curve: Curves.easeIn,
|
||||||
child: AnimatedContainer(
|
child: IgnorePointer(
|
||||||
duration: const Duration(milliseconds: 300),
|
ignoring: progress < 1.0,
|
||||||
transform: Matrix4.translationValues(
|
child: AnimatedContainer(
|
||||||
progress == 1.0 ? 0 : 20,
|
duration: const Duration(milliseconds: 300),
|
||||||
0,
|
transform: Matrix4.translationValues(
|
||||||
0,
|
progress == 1.0 ? 0 : 20,
|
||||||
),
|
0,
|
||||||
width: 40,
|
0,
|
||||||
height: 40,
|
),
|
||||||
decoration: BoxDecoration(
|
width: 40,
|
||||||
color: cs.primaryContainer,
|
height: 40,
|
||||||
shape: BoxShape.circle,
|
decoration: BoxDecoration(
|
||||||
),
|
color: cs.primaryContainer,
|
||||||
child: Icon(
|
shape: BoxShape.circle,
|
||||||
Symbols.check,
|
),
|
||||||
color: cs.onPrimaryContainer,
|
clipBehavior: Clip.antiAlias,
|
||||||
size: 24,
|
child: Material(
|
||||||
|
color: Colors.transparent,
|
||||||
|
child: InkWell(
|
||||||
|
onTap: () => Navigator.pop(context),
|
||||||
|
child: Icon(
|
||||||
|
Symbols.check,
|
||||||
|
color: cs.onPrimaryContainer,
|
||||||
|
size: 24,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user