Skip to main content

jt_flutter_cli 1.3.3 copy "jt_flutter_cli: ^1.3.3" to clipboard
jt_flutter_cli: ^1.3.3 copied to clipboard

A command-line tool that simplifies auto-code generation. Fully flexible, allowing you to generate a feature and widget for your Flutter applications.

1.3.3 #

  • Code generation now works against a dart formated project: imports and code anchors are matched on logical statements, so a formatter-wrapped line no longer breaks detection
  • Missing code anchors now report an error instead of silently skipping the insertion
  • Imports are no longer duplicated when inserting into a file that already has them
  • A malformed pubspec.yaml now reports a readable error instead of an unhandled exception
  • create assets constant names are generated in SCREAMING_SNAKE_CASE from camelCase input too (ratingStar gives IMG_RATING_STAR, not IMG_RATINGSTAR)
  • Generated use cases no longer carry the template's no_request.dart import when the API has a request model, which the analyzer reported as an unused import
  • Verified on Flutter 3.44.9 / Dart 3.12.2 against boilerplate 3.44.9+1
  • Fixed generation against a project on Dart 3.7 or newer, where dart format uses the new "tall" style:
    • the bloc constructor's use case parameter is now appended to the parameter list itself instead of being inserted above the super(...) initializer. That formatter collapses a short constructor onto one line, which put the parameter outside the list and produced a file that would not parse
    • the page's BlocProvider anchor no longer relies on a trailing comma, which that formatter removes
  • The pub-cache folder holding the templates is now located from the version pub resolved in pubspec.lock instead of the constraint in pubspec.yaml. A project on ^1.3.2 resolves 1.3.3 and the CLI then looked for jt_flutter_cli-1.3.2, failing with "Dependency not found in .pub-cache directory" — so every release broke projects that had not re-pinned their constraint by hand

1.3.2 #

  • Fixed Windows feature-generation breakage caused by a file-rename race condition
  • Fixed imports and code silently not being inserted when a target file did not start with an import line
  • Fixed a crash when inserting code before an anchor on the first line
  • Mock JSON directory is now created automatically when missing
  • Cross-platform path handling fixes

1.3.1 #

  • Readme update

1.3.0 #

  • Now multipart request can send list of files

1.2.0 #

  • Fixed path issue
  • Now Create assets command will create const for image

1.1.1 #

  • Readme file update

1.1.0 #

  • Added optional file and fields support for multipart request

1.0.0 #

  • Fixed import issue
  • Fixed use case generate issue
  • Fixed use case repo name issue
  • Fixed bloc and page use case name issue
  • Added support for multipart request
  • Readme file updates
  • Code refactor

0.0.10 #

  • Now Error state will have the status code
  • Improved user interface
  • Code fixes
  • Rules updated to readme file
  • Existing project upgrade guide is added to utilize CLI tool in existing project in readme file
  • Code refactor

0.0.9 #

  • Fixed No request override issue

0.0.8 #

  • Fixed model creation issue
  • README.md updates

0.0.7 #

  • Fixed common widget comment issue
  • README.md updates

0.0.6 #

  • README.md updates

0.0.5 #

  • Fixed bloc provider issue
  • README.md updates

0.0.4 #

  • Added POST API call integration feature
  • Fixed window system pub cache path issue
  • Fixed window system file permission issue

0.0.3 #

  • Added GET API call integration feature
  • Improved feature code
  • Fixed windows 10 pub get issue

0.0.2 #

  • Feature source path issue fixed
  • DI update for feature files
  • Update repository URL in pubspec.yaml

0.0.1 #

  • Initial version
5
likes
110
points
618
downloads

Documentation

API reference

Publisher

verified publisherjarvistechnolabs.com

Weekly Downloads

A command-line tool that simplifies auto-code generation. Fully flexible, allowing you to generate a feature and widget for your Flutter applications.

Homepage
Repository (GitHub)

License

MIT (license)

Dependencies

ansicolor, convert, dart_style, grapheme_splitter, image, path, process_run, yaml

More

Packages that depend on jt_flutter_cli