projenerator 2.1.2 copy "projenerator: ^2.1.2" to clipboard
projenerator: ^2.1.2 copied to clipboard

A Dart CLI tool to scaffold Flutter projects, add Bloc-pattern pages, and generate framed, localized screenshots with customizable themes.

2.1.2 #

[05 June 2025]

What's changed:

  • Updating dart SDK to version ^3.8.1. (Flutter 3.32.1)
  • Updating template project dependencies to the latest versions.
  • Generated project dependencies are now alphabetically sorted in the pubspec.yaml file.

2.1.1 #

[05 June 2025]

What's changed:

  • Fixing a bug with the environment feature where the .env file was not being created correctly.
  • Updating dependencies to the latest versions.

2.1.0 #

[07 May 2025]

What's changed:

  • Adding a logger to the base project.
  • ** Features **
    • Added a Serverpod Feature
    • Added an Environment Variables Feature
    • Added connectivity listener feature

2.0.1 #

[04 May 2025]

What's changed:

  • Screenshot config template
    • Added a projenerator_screenshots_config.yaml file template when creating a new project
  • README.md
    • Updated the README.md file to enhance the generation screenshots section
    • Added a folder structures of page and projects

2.0.0 #

[04 May 2025]

What's changed:

  • Project scaffolding
    • projenerator create <projectName> generates a ready-to-use Flutter project structure (with application template and folder layout)
  • Bloc‐pattern page generation
    • projenerator add-page <page_name> adds a new feature page following the Flutter Bloc pattern, wiring up view, bloc, events, and states
  • Screenshot generation
    • projenerator generate-screenshots [-c <config_file>] produces framed, multi-platform screenshots (iOS, Android, macOS, Tablet)
    • YAML-driven configuration supports:
      • Global settings: custom font (ZIP or TTF), canvas background (solid or gradient with direction), padding, default text color and size, output folder
      • Languages: define supported languages and a fallback; auto-wrap and render per-language labels
      • Platform overrides: custom frame assets, screenshot source directories, background overrides, per-platform text color & font size
      • Per-image labels: map screenshot filenames to localized text strings
    • Text is auto-wrapped, centered horizontally and vertically in the header space above each frame
    • Adjustable interpolation and multi-pass downsampling options preserve UI text clarity when resizing
    • Configurable bottom padding per platform and orientation to fine-tune frame positioning
  • CLI UX
    • Colored console output (success, warning, error) for clear, step-by-step feedback
    • Validation of font sizes against allowed presets
1
likes
120
points
138
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart CLI tool to scaffold Flutter projects, add Bloc-pattern pages, and generate framed, localized screenshots with customizable themes.

Documentation

API reference

License

unknown (license)

Dependencies

args, collection, dart_console, flutter, image, mustache_template, path, recase, yaml, yaml_edit

More

Packages that depend on projenerator