flutter_createx 1.0.1
flutter_createx: ^1.0.1 copied to clipboard
A terminal wizard for `flutter create` — browse and configure all flags interactively, preview the full command, then execute with one keystroke.
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.0.1 - 2026-06-06 #
Changed #
- Moved package logo from
.github/assets/todoc/assets/. - Improved
pubspec.yaml: refined description, addedtopics,homepage,issue_tracker, andscreenshotsfields; loosened SDK constraint to>=3.0.0 <4.0.0. - Added GitHub community standards:
CONTRIBUTING.md, issue templates, PR template,CODE_OF_CONDUCT.md,SECURITY.md. - Updated README logo URL to reflect new asset path.
- Bumped
process_runto^1.3.4,testto^1.31.1,dart_huskyto^1.2.2.
1.0.0 - 2026-05-30 #
Added #
- Interactive CLI Wizard: Built an arrow-key-driven terminal wizard using
dart_consolethat lets developers visually browse, select, and configure allflutter createflags instead of memorising them. - Interactive Option Prompts:
- Single-select Prompts: Implemented arrow-key navigation with active item highlighting for template selection (
app,module,package,plugin,plugin_ffi,skeleton) and platform-specific languages (kotlin/javafor Android,swift/objcfor iOS). - Multi-select Prompts: Created responsive checkboxes allowing users to toggle options (e.g. target platforms:
android,ios,web,linux,macos,windowsand project options like--empty,--overwrite,--offline,--no-pub) with thespacebar and confirm withenter.
- Single-select Prompts: Implemented arrow-key navigation with active item highlighting for template selection (
- Environment Auto-Detection (FVM Aware): Added automatic path/runtime resolution. The tool auto-detects whether
flutteror Flutter Version Management (fvm flutter) is configured in the environment, falling back smoothly and outputting actionable errors if neither is found onPATH. - Command Preview & Approval: Added a clean command preview screen showing a formatted, multi-line visualization of the generated
flutter createcommand before executing. Users can approve or abort cleanly. - Rich Visual Terminal Feedback: Implemented vibrant colors, interactive section breaks, customized checkmarks, and intuitive helper guides (e.g.,
↑↓ navigate space toggle enter confirm). - Comprehensive API & Documentation:
- Added clean exports in
flutter_createx.dartexposing the configuration model and interactive wizard. - Implemented thorough Dartdoc comments across all public interfaces and configurations.
- Set up
package:lints/recommended.yamlstatic analyzer guidelines for clean Dart style.
- Added clean exports in
- Robust Test Suite:
- Wrote detailed unit tests in
test/flutter_createx_test.dartto verify default package config values, runtime mutations, platform list joining, Boolean flag logic, and accurate multi-line shell command serialization.
- Wrote detailed unit tests in
- Automation & Workflow CI:
- Added GitHub Actions workflow (
pr_title.yml) to enforce conventional commits rules on PR titles. - Configured Dependabot (
dependabot.yml) for automated daily dependency upgrades. - Added MIT License and clean conventional commits guidelines for contributions.
- Added GitHub Actions workflow (
