app_features 0.5.0 copy "app_features: ^0.5.0" to clipboard
app_features: ^0.5.0 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/out/out_feature.dart';
import 'package:example/features/splash/splash_feature.dart';
import 'package:flutter/material.dart';

void main() {
  AppFeatures.config(
    features: [
      SplashFeature(),
      OutFeature(),
    ],
    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
51%
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