import 'package:flutter/material.dart'; import 'login_page.dart'; // 로그인 페이지 임포트 추가 import 'signup_page.dart'; // 회원가입 페이지 임포트 추가 import 'id_finding_page.dart'; // ID 찾기 페이지 임포트 추가 class PwFindingPage extends StatelessWidget { const PwFindingPage({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return Scaffold( backgroundColor: Colors.white, appBar: AppBar( title: const Text('ALL SCORE', style: TextStyle(color: Colors.white)), backgroundColor: Colors.black, ), body: Padding( padding: const EdgeInsets.all(16.0), child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ const Text( 'PW 찾기', style: TextStyle( fontSize: 24, fontWeight: FontWeight.bold, color: Colors.black, ), ), const SizedBox(height: 32), TextField( decoration: InputDecoration( labelText: 'ID', labelStyle: const TextStyle(color: Colors.black), border: OutlineInputBorder(), focusedBorder: OutlineInputBorder( borderSide: const BorderSide(color: Colors.black, width: 2.0), ), ), ), const SizedBox(height: 16), TextField( decoration: InputDecoration( labelText: '이메일', labelStyle: const TextStyle(color: Colors.black), border: OutlineInputBorder(), focusedBorder: OutlineInputBorder( borderSide: const BorderSide(color: Colors.black, width: 2.0), ), ), ), const SizedBox(height: 16), ElevatedButton( onPressed: () { // PW 찾기 로직 추가 }, style: ElevatedButton.styleFrom( backgroundColor: Colors.black, foregroundColor: Colors.white, ), child: const Text('PW 찾기'), ), const SizedBox(height: 16), TextButton( onPressed: () { Navigator.pop(context); // 로그인 페이지로 이동 }, child: const Text('로그인', style: TextStyle(color: Colors.black)), ), TextButton( onPressed: () { Navigator.push( context, MaterialPageRoute(builder: (context) => const IdFindingPage()), ); }, child: const Text('ID 찾기', style: TextStyle(color: Colors.black)), ), TextButton( onPressed: () { Navigator.push( context, MaterialPageRoute(builder: (context) => const SignUpPage()), ); }, child: const Text('회원가입', style: TextStyle(color: Colors.black)), ), ], ), ), ); } }