Bank Account Wizard Screen
bank_account/views/bank_account_screen.dart
Overview
Single screen that switches between three step UIs based on bankAccountControllerProvider.currentStep. Top progress bar reflects completedSteps. Each step has its own validation and submit button.
User Flow
- Step 1 (personal info): name, email, phone, DOB, address → submitPersonalInfo.
- Step 2 (bank): account holder, account number, country, currency → submitBankDetails.
- Step 3 (identity): pick or take a photo → submitIdentityVerification.
- Completed state: shows 'Verified' or 'Pending review' card.
Cases & Edge Cases
- submit errors render an inline banner with the _friendlyError message.
- Identity verification uses image_picker — gallery and camera both 2000×2000 max with quality 85.
- Validation is per-step; submitting with empty required fields keeps the user on the step.
Code References
- lib/src/features/seller/bank_account/views/bank_account_screen.dart
API Calls
Empty — fill this in later. Open the manifest and add content here.
Notes
714 lines — a candidate for splitting into per-step widget files but works as-is.