flutter_base_architecture_plugin 0.0.2-dev.5 copy "flutter_base_architecture_plugin: ^0.0.2-dev.5" to clipboard
flutter_base_architecture_plugin: ^0.0.2-dev.5 copied to clipboard

unlisted

A robust and scalable Flutter plugin that provides a solid foundation for building production-ready apps. Includes API calls, BLoC state management, navigation, dependency injection, and localization [...]

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_base_architecture_plugin/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(),
    );
  }
}
0
likes
0
points
466
downloads

Publisher

unverified uploader

Weekly Downloads

A robust and scalable Flutter plugin that provides a solid foundation for building production-ready apps. Includes API calls, BLoC state management, navigation, dependency injection, and localization out of the box. Perfect for developers looking to save time and follow best practices in Flutter app development.

License

unknown (license)

Dependencies

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

More

Packages that depend on flutter_base_architecture_plugin

Packages that implement flutter_base_architecture_plugin