app_features 1.0.1 copy "app_features: ^1.0.1" to clipboard
app_features: ^1.0.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/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
150
pub points
42%
popularity

Publisher

verified publisherm-it.dev

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, go_router

More

Packages that depend on app_features