Skip to main content

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

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

Changelog #

1.7.7 #

  • Docs: Added package badges and interactive architecture explorer sandbox link.
  • Docs: Removed stale version references in README.

1.7.6 #

  • Docs: Clarified architectural lint rule evaluation based on import URI paths and project directory conventions.
  • Docs: Refined package description and README dependency snippets.

1.7.5 #

  • Docs: Added Automated Verification reference section to doc/flutter_architecture.md.
  • Feat: Added clean_feature_arch docs verification (and docs plugin) terminal documentation command and interactive menu option.
  • Fix: Refined documentation delimiter parsing in docs CLI command to cleanly segment architecture sections.

1.7.4 #

  • Feat: Migrated analyzer plugin to Dart 3.13+ Analysis Server Plugin API (package:analysis_server_plugin).
  • Refactor: Standardized plugin entry point in lib/main.dart per official analysis server plugin specifications.
  • Refactor: Removed legacy analyzer: plugins: declaration from scaffolded analysis_options.yaml in CLI template generator to resolve analysis_options_deprecated_plugins.
  • Chore: Removed unused legacy package:analyzer_plugin dependency.
  • Chore: Modernized package and scaffolded analysis_options.yaml with strict language mode flags (strict-casts, strict-inference, strict-raw-types).
  • Docs: Updated documentation and example app to demonstrate automatic plugin discovery via dev_dependencies.

1.7.3 #

  • Added official pub.dev topics (clean-architecture, cli, code-generator, scaffolding, architecture) for category discoverability.
  • Added issue_tracker repository URL.
  • Added .pubignore to prevent bundling build artifacts and caches.

1.7.2 #

  • Chore: Upgraded example dev dependency lints from ^3.0.0 to ^6.1.0.
  • Chore: Updated transitive dependencies across main package and example (vm_service, source_maps, meta, analyzer, and more).
  • Chore: Added platform folder exclusions (android/, ios/, web/, etc.) to example/analysis_options.yaml to suppress false-positive analyzer warnings.

1.7.1 #

  • Chore: Expanded analyzer dependency constraint to <15.0.0 to support the latest analyzer 14.1.0.
  • Chore: Upgraded direct dependencies (analysis_server_plugin 0.3.20, analyzer_plugin 0.14.14).

1.7.0 #

  • Feat: Implemented type-safe, feature-isolated API endpoint scaffolding.
  • Feat: init command now scaffolds lib/core/network/api_endpoints.dart for core/system routes.
  • Feat: feature command scaffolds co-located ${feature}_endpoints.dart inside feature remote data sources.
  • Refactor: Updated RemoteDataSource templates to inject Dio and consume structured feature endpoint constants.
  • Docs: Updated architecture guides with core vs. feature endpoint standards.

1.6.4 #

  • Fix: Corrected Riverpod screen template to watch the proper generated NotifierProvider instead of the non-existent raw provider.
  • Fix: Resolved AOT plugin compilation error (Failed to compile plugin.dart to an AOT snapshot) by restoring lib/main.dart entry point.
  • Fix: Fixed CLI docs skeleton rendering by removing duplicate section headers and visual discrepancies in flutter_architecture.md.
  • Docs: Corrected folder structure guide indentation and synchronized core file listings to match generated output.

1.6.3 #

  • Refactor: Optimized AppRunner template to generate state-manager-specific code during scaffolding, removing runtime switch redundancies.

1.6.2 #

  • Feat: Implemented "Scoped Lifecycle" for Dependency Injection.
  • Feat: Added resetDependencies() to injection_container.dart for orchestrating state re-initialization (e.g., on Logout).
  • Refactor: Added automatic dispose callbacks for AppDatabase and Dio to prevent resource leaks during resets.

1.6.1 #

  • Refactor: Finalized core module integration by moving storage engine registrations to CoreModule.
  • Refactor: Optimized injection_container.dart to act as a pure dispatcher for modular registries.

1.6.0 #

  • Feat: Implemented modern declarative AppRunner process using Record destructuring and high-level abstraction.
  • Feat: Modernized all templates to utilize Dart 3.x features, including native Switch Expressions for UI state rendering.
  • Refactor: Adopted idiomatic part/part of pattern for BLoC triads to consolidate Bloc, Event, and State into a single logical library.
  • Feat: Converted environment and localization configuration to type-safe Enhanced Enums.
  • Fix: Resolved strict_raw_type warnings and standardized template imports to achieve a Warning-Zero analysis state.
  • Fix: Synchronized unit and integration test templates with updated constructor signatures and modern assertions.
  • Refactor: Standardized core configuration naming conventions and absolute import path resolution.

1.5.0 #

  • Feat: Migrated dependency injection to a Modular Registry pattern.
  • Feat: Each feature now generates a dedicated di/ folder with its own registration logic.
  • Refactor: Updated injection_container.dart to act as a dispatcher for feature-level DI modules.
  • Refactor: Standardized absolute imports across all DI templates for better feature isolation.

1.4.9 #

  • Docs: Refactored entire changelog for technical clarity and professional tone.
  • Docs: Verified and aligned historical version summaries with official publication records.

1.4.8 #

  • Refactor: Renamed lib/core/localization/app_strings.dart to match app_ prefix pattern.
  • Feat: Implemented getters in AppStrings to support reactive localization updates without app restarts.
  • Feat: Added en-US.json and ne-NP.json sample files to assets/translations/.
  • Docs: Updated architecture guides with resource suite and localization details.

1.4.7 #

  • Fix: Resolved all remaining package lints and formatting issues to improve quality score.
  • Style: Enforced mandatory curly braces across all flow control structures in the generator logic.
  • Fix: Finalized absolute path resolution for all core resource templates.

1.4.6 #

  • Feat: Added standard asset directory structure for images, icons, fonts, and animations.
  • Feat: Integrated easy_localization with centralized string management.
  • Feat: Added BuildContext extensions for theme, media query, and localization access.
  • Feat: Added responsive scaling utilities for cross-device UI consistency.

1.4.5 #

  • Refactor: Migrated all scaffolding and surgical patching to use fully-qualified package imports.
  • Fix: Resolved relative path depth issues in nested feature structures.

1.4.4 #

  • Feat: Added LogReporter interface and optional production error reporting hook.
  • Feat: Implemented automatic stacktrace capture for error-level logging.
  • Refactor: Standardized environment-aware log filtering.

1.4.3 #

  • Refactor: Converted AppError to a Freezed sealed class for standardized diagnostics.
  • Feat: Added BaseResponse<T> generic model and IBaseResponse interface.
  • Fix: Enhanced ErrorHandler.guard to support automatic backend error message extraction.

1.4.2 #

  • Feat: Integrated logger and pretty_dio_logger for production-grade logging.
  • Fix: Resolved "Undefined name 'logger'" errors in core templates.

1.4.1 #

  • Fix: Corrected relative import paths and prevented duplicate constructor generation during storage surgery.
  • Fix: Ensured idempotent feature registration in injection_container.dart.

1.4.0 #

  • Feat: Added modular storage command suite with Drift and Shared Preferences support.
  • Feat: Implemented dynamic presentation folder naming based on state management selection.
  • Feat: Added permission command and test command for cross-platform and QA scaffolding.

1.3.0 #

  • Feat: Enhanced init to generate fully wired production core infrastructure.
  • Feat: Added canonical implementations for SecureStorage and NetworkInfo.
  • Feat: Automated dependency injection for all core singletons.

1.2.1 #

  • UX: Added interactive conflict manager for file scaffolding.

1.2.0 #

  • Feat: Populated core/ with Router, Theme, Storage, and Networking boilerplate.
  • Feat: Added docs command for terminal-based architectural reference.

1.1.0 #

  • Feat: Added state management selection for BLoC and Riverpod.
  • Refactor: Migrated to native Dart Analyzer Plugin system.

1.0.0 #

  • Initial release with Absolute Rule Architecture scaffolding and enforcement.
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