A cinematic, interactive PSL (Pakistan Super League) web experience built with Flutter 3. This is a fully functional web application featuring team management, match schedules, trivia games, AI analysis, and an integrated shop.
- Interactive Home Dashboard - Welcome screen with feature overview and PSL statistics
- Team Management - Explore all 6 PSL teams with detailed information and team switching
- Match Schedule - View upcoming, live, and completed matches with real-time updates
- Interactive Trivia - Test your PSL knowledge with a fully functional quiz system
- AI Analysis - Performance insights with charts and data visualization
- Shop Experience - Browse and purchase official PSL merchandise
- Settings Panel - Customize themes, teams, and app preferences
- Responsive Design - Optimized for desktop and mobile web browsers
- Dynamic Theming - Team-specific color schemes with smooth transitions
- Glass Morphism UI - Modern design with glassmorphic navigation elements
- Smooth Animations - Flutter Animate powered transitions and effects
- State Management - Provider-based state management for theme and team preferences
- Modular Architecture - Clean, scalable code structure
- Team-Specific Theming - Each PSL team has its own color palette and visual identity
- Aurora Background Effects - Dynamic background animations in national mode
- Glass Navigation - Beautiful glassmorphic navigation rail and bottom bar
- Animated Transitions - Smooth page transitions and element animations
- Dark/Light Mode - Full theme mode support with team color integration
- Lahore Qalandars - Green & Gold theme
- Karachi Kings - Blue & Gold theme
- Islamabad United - Red & Gold theme
- Multan Sultans - Teal & Green theme
- Peshawar Zalmi - Yellow & Navy theme
- Quetta Gladiators - Purple & Gold theme
- Flutter SDK (>=3.3.0)
- Dart SDK (included with Flutter)
- Chrome or any modern web browser
-
Clone the repository:
git clone <repository-url> cd psl_nextgen_web_standalone
-
Install dependencies:
flutter pub get
-
Run the application:
flutter run -d chrome
Web Build:
flutter build web --releaseThe built files will be in the build/web directory and can be deployed to any web hosting service.
lib/
├── main.dart # App entry point
├── app/
│ ├── psl_app.dart # Main app widget
│ └── router.dart # Go Router configuration
├── core/
│ ├── providers/
│ │ └── theme_controller.dart # Theme and team state management
│ ├── theme/
│ │ └── team_palette.dart # Team color definitions
│ └── widgets/
│ └── psl_shell.dart # Main app shell with navigation
└── features/
├── home/ # Home dashboard
├── teams/ # Team exploration
├── schedule/ # Match schedules
├── trivia/ # Quiz functionality
├── ai_analysis/ # Performance analytics
├── shop/ # Merchandise store
└── settings/ # App configuration
- Welcome dashboard with feature cards
- PSL statistics and highlights
- Quick team switching
- Animated feature grid
- Interactive team selection
- Team-specific information and statistics
- Dynamic color theming
- Team details with historical data
- Tabbed interface (Upcoming/Live/Completed)
- Match cards with team information
- Venue and timing details
- Live score updates (simulated)
- 5-question PSL knowledge quiz
- Multiple choice questions
- Real-time scoring
- Results screen with performance feedback
- Performance metrics and charts
- Team statistics visualization
- AI-powered insights
- Exportable reports
- Categorized merchandise (Jerseys, Accessories, Equipment, Collectibles)
- Product cards with ratings and reviews
- Team-themed shopping experience
- Add to cart functionality
- Theme mode toggle (Dark/Light)
- Team preference selection
- National mode toggle
- App configuration options
- flutter: SDK framework
- provider: State management
- go_router: Navigation and routing
- google_fonts: Typography (Montserrat)
- flutter_animate: Smooth animations and transitions
- rive: Vector animations (ready for integration)
- lottie: Lottie animations (ready for integration)
- fl_chart: Data visualization and charts
- http: HTTP requests for future API integration
- shared_preferences: Local storage
- intl: Internationalization support
- flutter_markdown: Markdown rendering
- pdf & printing: PDF generation capabilities
- Build the project:
flutter build web --release - Deploy the
build/webfolder to your hosting service - Configure your web server to serve the files
- Firebase Hosting - Easy Flutter web deployment
- Netlify - Drag and drop deployment
- Vercel - Git-based deployment
- GitHub Pages - Free hosting for public repos
- Real API Integration - Connect to live PSL data feeds
- User Authentication - User accounts and preferences
- Social Features - Share scores and team support
- Push Notifications - Match alerts and updates
- Offline Support - PWA capabilities
- Multi-language Support - Urdu and English localization
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Pakistan Super League for inspiration
- Flutter team for the amazing framework
- All PSL teams and their passionate fans
Built with ❤️ for PSL fans worldwide