A modern Flutter-based mobile application utilizing the latest mobile development technologies and tools for building responsive cross-platform applications.
- Flutter SDK (^3.29.2)
- Dart SDK
- Android Studio / VS Code with Flutter extensions
- Android SDK / Xcode (for iOS development)
- Install dependencies:
flutter pub get- Run the application:
flutter runflutter_app/
βββ android/ # Android-specific configuration
βββ ios/ # iOS-specific configuration
βββ lib/
β βββ core/ # Core utilities and services
β β βββ utils/ # Utility classes
β βββ presentation/ # UI screens and widgets
β β βββ splash_screen/ # Splash screen implementation
β βββ routes/ # Application routing
β βββ theme/ # Theme configuration
β βββ widgets/ # Reusable UI components
β βββ main.dart # Application entry point
βββ assets/ # Static assets (images, fonts, etc.)
βββ pubspec.yaml # Project dependencies and configuration
βββ README.md # Project documentation
To add new routes to the application, update the lib/routes/app_routes.dart file:
import 'package:flutter/material.dart';
import 'package:package_name/presentation/home_screen/home_screen.dart';
class AppRoutes {
static const String initial = '/';
static const String home = '/home';
static Map<String, WidgetBuilder> routes = {
initial: (context) => const SplashScreen(),
home: (context) => const HomeScreen(),
// Add more routes as needed
}
}This project includes a comprehensive theming system with both light and dark themes:
// Access the current theme
ThemeData theme = Theme.of(context);
// Use theme colors
Color primaryColor = theme.colorScheme.primary;The theme configuration includes:
- Color schemes for light and dark modes
- Typography styles
- Button themes
- Input decoration themes
- Card and dialog themes
The app is built with responsive design using the Sizer package:
// Example of responsive sizing
Container(
width: 50.w, // 50% of screen width
height: 20.h, // 20% of screen height
child: Text('Responsive Container'),
)Build the application for production:
# For Android
flutter build apk --release
# For iOS
flutter build ios --release