fli 1.1.2 copy "fli: ^1.1.2" to clipboard
fli: ^1.1.2 copied to clipboard

A native CLI tool for generating clean and standardized Flutter project structures. Supports all platforms with optimized functionality for desktop use.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.1.2 - 2025-08-06 #

πŸ”§ Fixed #

  • CI/CD Pipeline: Complete CI workflow overhaul for better reliability
    • Added Flutter SDK setup to CI environment
    • Added dependency caching for faster builds
    • Added timeout protection to prevent hanging tests
    • Enhanced CLI functionality testing with better error handling
    • Added validation step for generated project quality

🎨 Improved #

  • Template Code Quality: Fixed all linting issues in generated projects
    • Fixed constructor ordering in CustomButton and CustomCard widgets
    • Removed unused imports in test files
    • Converted relative imports to package imports in feature_driven template
    • All generated projects now pass flutter analyze with zero issues

πŸš€ Enhanced #

  • Developer Experience: Generated projects now meet Flutter best practices
    • Clean code with proper linting compliance
    • Professional project structure
    • Ready-to-use templates without warnings

1.1.1+1 - 2025-08-06 #

πŸ’ Added #

  • Buy Me a Coffee Support: Added funding support to help maintain and improve the project
    • Added support section in README.md with Buy Me a Coffee badge
    • Added funding field in pubspec.yaml for better discoverability on pub.flutter-io.cn
    • Encourages community support for ongoing development

1.1.1 - 2025-08-05 #

πŸ”§ Fixed #

  • Documentation Links: Fixed broken internal documentation links after renaming docs/ to doc/ directory
    • Updated all references in README.md, CHANGELOG.md, example documentation, and template files
    • Ensures all documentation links work correctly on GitHub and pub.flutter-io.cn

1.1.0 - 2025-08-05 #

πŸš€ Major Features Added #

  • Automatic Flutter Project Creation: No more need to run flutter create . manually!
    • fli now automatically runs flutter create as part of the project generation
    • Template structure is applied on top of a proper Flutter project
    • Dependencies are automatically installed with flutter pub get
  • Enhanced Project Generation:
    • Proper package imports throughout generated code
    • Clean integration with Flutter's standard project structure
    • Automatic cleanup of default Flutter boilerplate files
    • Template-specific tests that actually work

✨ Improvements #

  • Better User Experience: One command now creates a complete, ready-to-use Flutter project
  • Proper Package Structure: All generated files use correct package imports
  • Enhanced README: Generated projects include comprehensive documentation
  • Template-Specific Dependencies: Each template gets appropriate dependencies automatically
  • Improved Error Handling: Better feedback during project creation process

πŸ§ͺ Quality Improvements #

  • Generated projects pass flutter analyze with minimal warnings
  • All template tests run successfully
  • Projects can be built immediately without additional setup
  • Comprehensive documentation for each template type

πŸ› οΈ Developer Experience #

  • No Manual Steps Required: Generated projects are immediately runnable
  • Better CLI Feedback: Clear progress indicators and success messages
  • Template Features Summary: Users see what features are included with their chosen template

1.0.1 - 2025-08-01 #

Added #

  • Comprehensive documentation in doc/ directory
    • templates.md: Detailed template guide with structure explanations and use cases
    • architecture.md: Design patterns, conventions, and architectural principles
    • examples.md: Real-world usage scenarios and practical implementation examples
    • README.md: Documentation index and navigation guide
  • Updated main README.md with links to comprehensive documentation

Fixed #

  • Updated version number after successful initial publication to pub.flutter-io.cn

1.0.0 - 2025-08-01 #

Added #

  • Initial release of fli CLI tool
  • Basic project template
  • Feature-driven project template
  • Clean architecture template (basic implementation)
  • BLoC pattern template (basic implementation)
  • Provider pattern template (basic implementation)
  • Interactive CLI with command-line arguments
  • Project name validation
  • Comprehensive folder structure generation
  • Pre-configured pubspec.yaml, analysis_options.yaml, and .gitignore
  • Asset directory structure
  • Basic test setup

Features #

  • fli create <project_name> command
  • fli templates command to list available templates
  • --template option to specify project template
  • --interactive flag for interactive mode
  • --output option to specify output directory
  • Clean, organized project structures
  • Flutter best practices built-in
  • Extensible template system

Templates #

  • basic: Simple, clean structure for small to medium apps
  • feature_driven: Feature-based organization for scalable apps
  • clean_architecture: Clean Architecture with proper separation
  • bloc_pattern: BLoC pattern implementation
  • provider_pattern: Provider state management structure
3
likes
160
points
35
downloads

Publisher

verified publisherfaizahmaddae.com

Weekly Downloads

A native CLI tool for generating clean and standardized Flutter project structures. Supports all platforms with optimized functionality for desktop use.

Repository (GitHub)
View/report issues
Contributing

Topics

#cli #flutter #generator #scaffold #project-structure

Documentation

Documentation
API reference

Funding

Consider supporting this project:

buymeacoffee.com

License

MIT (license)

Dependencies

args, mason, mason_cli, path, yaml

More

Packages that depend on fli