간편 로그인 · 성운/행성 생성을 아래에서 올라오는 전환으로

This commit is contained in:
Sn-Kinos
2026-10-06 04:03:51 +09:00
parent 6cf45284ca
commit 55f3f503a3
7 changed files with 16 additions and 25 deletions
-14
View File
@@ -213,17 +213,3 @@ Future<void> showAlertDialog(
confirmLabel: confirmLabel ?? context.l10n.commonConfirm,
),
);
/// 아래에서 올라오고 닫으면 아래로 내려가는 전체 화면 — Figma 설명 「닫기 버튼 클릭 시, 하단
/// move out 페이지 종료」(`516:87382` 성운 생성 · `516:87457` 행성 생성 · `516:88164` 이클립스 상세).
/// 안드로이드 기본 전환(확대)과 iOS 기본 전환(옆으로)이 모두 이 동작이 아니라 따로 둔다.
Route<T> slideUpRoute<T>(WidgetBuilder builder) => PageRouteBuilder<T>(
pageBuilder: (context, _, _) => builder(context),
transitionsBuilder: (_, animation, _, child) => SlideTransition(
position: Tween(
begin: const Offset(0, 1),
end: Offset.zero,
).chain(CurveTween(curve: Curves.easeOutCubic)).animate(animation),
child: child,
),
);