Skip to main content

clean_feature_arch 1.7.6 copy "clean_feature_arch: ^1.7.6" to clipboard
clean_feature_arch: ^1.7.6 copied to clipboard

Toolkit for scaffolding and enforcing Clean Architecture in Flutter projects with Dart 3 patterns and architectural lint rules.

example/lib/main.dart

import 'package:flutter/material.dart';

/// This is a basic Flutter application demonstrating the integration of
/// the `clean_feature_arch` analyzer plugin.
///
/// The plugin activates automatically via `dev_dependencies` in `pubspec.yaml`.
/// To see the architectural linter in action:
/// 1. Run `dart pub get` in this example directory.
/// 2. Create a feature folder in `lib/features/` and attempt to cross-import
///    internal layers (e.g., domain importing from data).
/// 3. Run `dart analyze` to observe architectural diagnostic reports.
void main() {
  runApp(const MaterialApp(
    home: Scaffold(
      body: Center(
        child: Text('Absolute Rule Architecture Example'),
      ),
    ),
  ));
}
1
likes
160
points
805
downloads

Documentation

API reference

Publisher

verified publishershakyapurna.com.np

Weekly Downloads

Toolkit for scaffolding and enforcing Clean Architecture in Flutter projects with Dart 3 patterns and architectural lint rules.

Repository (GitHub)
View/report issues

Topics

#clean-architecture #cli #code-generator #scaffolding #architecture

License

MIT (license)

Dependencies

analysis_server_plugin, analyzer, args, mason_logger, path, recase, yaml

More

Packages that depend on clean_feature_arch