feat: otp page

This commit is contained in:
efrilm
2025-08-27 17:34:35 +07:00
parent 59e61fe6c8
commit 472e9f5f69
4 changed files with 296 additions and 22 deletions
@@ -2,6 +2,7 @@ import 'package:auto_route/auto_route.dart';
import 'package:flutter/material.dart';
import '../../../components/button/button.dart';
import '../../../router/app_router.gr.dart';
import 'widgets/name_field.dart';
import 'widgets/phone_field.dart';
@@ -30,7 +31,10 @@ class RegisterPage extends StatelessWidget {
Spacer(),
// Continue Button
AppElevatedButton(onPressed: () {}, title: 'Daftar & Lanjutkan'),
AppElevatedButton(
onPressed: () => context.router.push(const OtpRoute()),
title: 'Daftar & Lanjutkan',
),
const SizedBox(height: 24),
],