base_frame 1.0.0 copy "base_frame: ^1.0.0" to clipboard
base_frame: ^1.0.0 copied to clipboard

A comprehensive Flutter base architecture plugin providing BLoC pattern implementation, network handling, localization, dependency injection, and reusable UI components for rapid app development.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:base_frame/imports/localization_imports.dart';
import 'core/constants.dart';
import 'inject/injector.dart';
import 'ui/home/home_screen.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Injector.setup();
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
    navigatorKey = GlobalKey<NavigatorState>();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      navigatorKey: navigatorKey,
      debugShowCheckedModeBanner: false,
      home: const HomeScreen(),
      supportedLocales: AppConstants.localizationList.toLocaleList(),
    );
  }
}
1
likes
115
points
70
downloads

Publisher

unverified uploader

Weekly Downloads

A comprehensive Flutter base architecture plugin providing BLoC pattern implementation, network handling, localization, dependency injection, and reusable UI components for rapid app development.

Documentation

API reference

License

MIT (license)

Dependencies

built_value, collection, connectivity_plus, dio, flutter, flutter_bloc, flutter_web_plugins, logger, plugin_platform_interface, rxdart, web

More

Packages that depend on base_frame

Packages that implement base_frame