A comprehensive Flutter gaming store application with authentication, product browsing, cart functionality, and Arabic localization support.
- Gaming-themed UI with dark gradient backgrounds
- Custom Suwannaphum font with bold, colored typography
- Two gaming icons representing local and online gaming experiences
- Sign Up and Sign In buttons with smooth navigation
- Centered layout with adequate spacing and modern design
- Sign-Up Form with comprehensive validation
- Sign-In Form with email and password validation
- Success dialogs with smooth transitions to main app
- Form validation with user-friendly error messages
- "Our Games" AppBar with shopping cart indicator
- Featured Games Section with horizontal PageView
- Responsive GridView showing game cards (2 per row)
- Add to Cart functionality with SnackBar notifications
- Hot Offers Section with vertical ListView
- Cart counter showing number of items
- Fade transitions between authentication and main screens
- Page indicators for featured games carousel
- Floating SnackBars for user feedback
- Smooth navigation with custom page transitions
- Complete Arabic translation of all UI text
- RTL support for Arabic language
- Localized strings using .arb files
- No hardcoded strings in UI code
- Variables and Constants: Game data, user information
- Lists and Maps: Game collections, cart management
- Control Flow: Form validation, conditional rendering
- Functions: Validation methods, data processing
- Object-Oriented Programming: Game and User models
- StatelessWidget: Welcome screen, game cards
- StatefulWidget: Authentication forms, shopping screen
- Form Validation: TextFormField with custom validators
- Navigation: PageRouteBuilder with custom transitions
- Layout Widgets: Column, Row, GridView, ListView, PageView
- Modular Structure: Separate files for models, screens, widgets
- Clean Code: Clear naming conventions and organized structure
- Responsive Design: Adaptive layouts for different screen sizes
- State Management: Local state with setState for cart and UI
- Dark gaming theme with green accent colors
- Gaming icons and modern typography
- Call-to-action buttons for authentication
- Clean form design with validation
- Success dialogs with smooth transitions
- User-friendly error messages
- Featured games carousel
- Grid layout for all games
- Hot offers section
- Shopping cart functionality
lib/
โโโ main.dart # App entry point
โโโ models/
โ โโโ game.dart # Game data model
โ โโโ user.dart # User authentication model
โโโ screens/
โ โโโ welcome_screen.dart # Welcome/intro screen
โ โโโ signup_screen.dart # User registration
โ โโโ signin_screen.dart # User login
โ โโโ shopping_screen.dart # Main store interface
โโโ widgets/ # Reusable UI components
โโโ l10n/
โโโ app_localizations.dart # Localization setup
โโโ app_en.arb # English translations
โโโ app_ar.arb # Arabic translations
assets/
โโโ images/ # Game images and icons
โโโ fonts/ # Custom font files
- Real-time validation with custom error messages
- Email format checking
- Password strength requirements
- Name capitalization validation
- Custom page transitions with fade effects
- Proper navigation stack management
- Back button handling
- Local state management with setState
- Cart functionality with item counting
- Form state handling
- Modern gaming aesthetic
- Consistent color scheme
- Responsive layouts
- Accessibility considerations
- Arabic language support
- RTL layout compatibility
- Localized strings management
Edit lib/models/game.dart to add new games to the store:
Game(
id: 'new_game_id',
title: 'New Game Title',
imageUrl: 'game_image_url',
price: 49.99,
description: 'Game description',
category: 'Action',
rating: 4.5,
isFeatured: true,
)Update the color scheme in individual screen files:
const Color(0xFF00FF88) // Primary green
const Color(0xFF0A0A0A) // Dark background
const Color(0xFF1A1A1A) // Card background- Create new
.arbfile inlib/l10n/ - Add translations to
app_localizations.dart - Update
supportedLocaleslist
โ Aesthetic Welcome Screen
- AppBar with custom title
- Two images (local + online gaming icons)
- Suwannaphum font with custom styling
- Centered layout with proper spacing
- Sign Up and Sign In buttons
โ Authentication System
- Sign-up form with full validation
- Sign-in form with email/password
- Success dialogs with navigation
- Form validation with user feedback
โ Smooth Transitions
- Fade animations between screens
- Custom page transitions
- Seamless user experience
โ Shopping Interface
- "Our Games" AppBar
- Featured games PageView
- Responsive GridView (2 per row)
- Add to cart with SnackBar
- Hot offers ListView
โ Arabic Localization
- Complete Arabic translations
- RTL support
- .arb file implementation
- No hardcoded strings
โ Code Quality
- Modular widget structure
- Clean, documented code
- Proper file organization
- Best practices implementation
- Dark color scheme with neon green accents
- Gaming icons (controller, esports symbols)
- Modern typography with bold headings
- Gradient backgrounds for visual appeal
- Interactive elements with hover effects
- Gaming terminology throughout the UI
- โ Android
- โ iOS
- โ Web
- โ Windows
- โ macOS
- โ Linux
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
Level up your Flutter development skills with this complete gaming store application! ๐