Bootstrap your Flutter projects in seconds

A modern, feature-rich starter kit for Flutter developers. Save time with pre-configured i18n, routing, state management, and more.

main.dart
import 'package:flutter/material.dart';
import 'package:flutter_kit/flutter_kit.dart';

void main() async {
  // Initialize the app
  await AppInitializer().preAppRun();
  
  runApp(const MyApp());
  
  // Post-initialization tasks
  await AppInitializer().postAppRun();
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp.router(
      title: 'Flutter Kit App',
      theme: AppTheme.light,
      darkTheme: AppTheme.dark,
      routerConfig: appRouter,
    );
  }
}

Features

I18n

Built-in i18n support with easy-to-use translation system.

Routing

Pre-configured GoRouter for seamless navigation and deep linking.

Storage

Type-safe storage service with SharedPreferences support.

State Management

Efficient BLoC pattern (using change notifiers) with sealed classes for type-safe states.

API Integration

Ready-to-use HTTP client with error handling and response parsing.

Theming

Consistent theming system with light and dark mode support.

Getting Started

1

Clone the Repository

git clone https://github.com/stevenosse/flutter_kit.git <YOUR_PROJECT_NAME>
2

Install Dependencies

cd <YOUR_PROJECT_NAME>
flutter pub get
3

Run the Example App

flutter run

Documentation