Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Onboarding + Enrollments] Render a major-entry widget shell

Đang mở Phù hợp với người mới
#10 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
88/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
dart, flutter, supabase
Lĩnh vực
frontend, mobile

Hướng nghiên cứu

Tạo lib/screens/onboarding/major_step.dart và các bài kiểm thử widget trong test/onboarding_major_step_test.dart. Đọc hướng dẫn thiết lập cho lần đóng góp đầu tiên, sau đó chạy flutter test test/onboarding_major_step_test.dart. Công việc hoàn tất khi trường giới hạn độ dài ở 80 ký tự, từ chối nội dung chỉ gồm khoảng trắng, khôi phục initialValue, gửi văn bản đã loại bỏ khoảng trắng ở đầu và cuối, đồng thời gọi onBack khi nhấn Quay lại.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

onboarding

What to build

Build the major-entry step with its text field, Back button and Continue button. Restore the previous entry when the student returns to this step.

Files

  • lib/screens/onboarding/major_step.dart (new file)
  • Starting example: lib/screens/onboarding_screen.dart
    Code to add or extend: MajorStep({initialValue, onSubmit, onBack}).

Steps

  1. Create StatefulWidget/controller initialized from initialValue; dispose controller.
  2. Render Major TextFormField, Next and Back using supplied callbacks. At this shell stage emit the entered value; final validation is its following task.
  3. Do not modify OnboardingScreen or write a profile here.

Example

initialValue Computer Science is visible; Back invokes onBack once.

Check it works

In test/screens/onboarding/major_step_10_test.dart, check the example above and the failure or limit described in the steps. Run flutter test test/screens/onboarding/major_step_10_test.dart and flutter analyze.

References

Assign yourself before starting, or comment to claim the issue. Project setup.

Ngôn ngữ chính
PLpgSQL
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DevDogsUGA/DogPack

Tất cả issue của DevDogsUGA/DogPack

Issue tương tự

Thêm issue về Web Dev

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.