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

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

Feature By Feature #

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

Features #

  • Feature scope
  • Routes by go_router
  • Handle dialog and bottom sheet by routes
  • Handle Snack Bar by ScaffoldMessenger

Getting started #

  • Install package:
 flutter pub add app_features
  • Config go_router:
class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp.router(
      title: 'App Features Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      routerConfig: AppFeatures.router,
    );
  }
}
  • Config AppFeatures by modify your features:
void main() {
  AppFeatures.config(
    features: [
        SplashFeature(),
        HomeFeature()
      ],
  ).init();
  runApp(const MyApp());
}
9
likes
0
pub points
39%
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