This project is developed for college use, utilizing Flutter to create the application.
- Login System: Users can log in with their ID and password.
- Information Page: Displays student information such as student ID, name, and major.
- Issue Reporting: Users can request to change their Gmail password or report issues accessing Gmail.
Core Functionality
- firebase_core: Manages Firebase initialization for the app.
- firebase_auth: Handles user authentication via Firebase.
- cloud_firestore: Enables seamless Firestore database interaction.
UI Enhancements
- google_fonts: Provides custom fonts, including Google Fonts.
- gradient_widgets: Adds widgets with gradient styling for a more dynamic UI
- Flutter_ScreenUtil: All layout and font sizes have been adjusted.
Utilities
- shared_preferences: Enables local data storage for features like "Remember Me."
- url_launcher: Facilitates launching URLs or external applications.
- fluttertoast: Displays toast messages to provide user feedback.
- Shorebird: Added automatic updates. Using the command
shorebird patch --platforms=android
Validation & State Management
- form_field_validator: Simplifies form field validation.
- provider: Manages state efficiently across the app.
- Clone this project to your local machine.
- Install dependencies using the command
flutter pub get. - Run the application using the command
flutter run.
main.dart: The main file of the application used to start the app.lib/src/login.dart: Manages the login page.lib/src/information.dart: Manages the student information page.
For further development, you can modify files in the lib/src folder and run the command flutter run to see the results.
===========================================================================
โปรเจ็คนี้เป็นโปรเจ็คที่พัฒนาขึ้นเพื่อใช้ในวิทยาลัย โดยใช้ Flutter ในการพัฒนาแอปพลิเคชัน
- ระบบล็อกอิน: ผู้ใช้สามารถเข้าสู่ระบบด้วยรหัสประจำตัวและรหัสผ่าน
- หน้าข้อมูล: แสดงข้อมูลนักศึกษา เช่น รหัสนักศึกษา ชื่อ และสาขา
- การแจ้งปัญหา: ผู้ใช้สามารถแจ้งขอเปลี่ยนรหัสผ่าน Gmail หรือแจ้งปัญหาในการเข้าใช้งาน Gmail
ฟังก์ชันหลัก
- firebase_core: สำหรับการจัดการการเริ่มต้นใช้งาน Firebase
- firebase_auth: ใช้สำหรับการยืนยันตัวตนของผู้ใช้ผ่าน Firebase
- cloud_firestore: ช่วยให้สามารถเชื่อมต่อและจัดการฐานข้อมูล Firestore
การปรับปรุง UI
- google_fonts: รองรับฟอนต์จาก Google Fonts และฟอนต์อื่น ๆ
- gradient_widgets: เพิ่มวิดเจ็ตที่มีการออกแบบด้วยกราเดียนท์เพื่อสร้างความสวยงาม
- Flutter_ScreenUtil: ได้แก้ไขขนาด Layout และ Font ทั้งหมด
เครื่องมือเสริม
- shared_preferences: ใช้สำหรับการเก็บข้อมูลในเครื่อง เช่น ฟีเจอร์ "จดจำการลงชื่อใช้งาน"
- url_launcher: สำหรับเปิด URL หรือนำทางไปยังแอปพลิเคชันอื่น ๆ
- fluttertoast: แสดงข้อความแจ้งเตือน (Toast) เพื่อแจ้งข้อมูลแก่ผู้ใช้
- Shorebird: เพิ่มการอัปเดตอัตโนมัติ โดยใช้คำสั่ง
shorebird patch --platforms=android
การตรวจสอบและการจัดการสถานะ
- form_field_validator: ช่วยให้การตรวจสอบความถูกต้องของฟอร์มเป็นเรื่องง่าย
- provider: ใช้สำหรับจัดการสถานะของแอปพลิเคชันอย่างมีประสิทธิภาพ
- คลอนโปรเจ็คนี้ไปยังเครื่องของคุณ
- ติดตั้ง dependencies โดยใช้คำสั่ง
flutter pub get - รันแอปพลิเคชันโดยใช้คำสั่ง
flutter run
main.dart: ไฟล์หลักของแอปพลิเคชันที่ใช้ในการเริ่มต้นแอปlib/src/login.dart: ไฟล์ที่ใช้ในการจัดการหน้าล็อกอินlib/src/information.dart: ไฟล์ที่ใช้ในการจัดการหน้าข้อมูลนักศึกษา
หากต้องการพัฒนาเพิ่มเติม สามารถแก้ไขไฟล์ในโฟลเดอร์ lib/src และรันคำสั่ง flutter run เพื่อดูผลลัพธ์


