app_features 0.1.1 copy "app_features: ^0.1.1" to clipboard
app_features: ^0.1.1 copied to clipboard

This package help you to Organize folders Structure by feature scope.

example/lib/main.dart

import 'package:app_features/app_features.dart';
import 'package:example/features/app_master_layout.dart';
import 'package:example/features/splash/splash_feature.dart';
import 'package:flutter/material.dart';

void main() {
  AppFeatures.config(
    features: [
      SplashFeature(),
    ],
    masterLayout: AppMasterLayout(),
  );
  runApp(const MyApp());
}

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp.router(
      title: 'App Features Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      routerConfig: AppFeatures.router,
    );
  }
}
9
likes
0
pub points
56%
popularity

Publisher

verified publisherm-it.dev

This package help you to Organize folders Structure by feature scope.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, go_router

More

Packages that depend on app_features