Skip to content

Commit

Permalink
Rename --packages to --include-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
FeodorFitsner authored and zrr1999 committed Jul 17, 2024
1 parent c3be369 commit a38c736
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* `Page.design` and `Pagelet.design` properties to force Material, Cupertino or Adaptive design language on entire app ([#2607](https://github.com/flet-dev/flet/issues/2607)).
* `Page.media` property with the data about obstructed spaces on the device ([#2613](https://github.com/flet-dev/flet/issues/2613)).
* Adaptive buttons ([#2591](https://github.com/flet-dev/flet/issues/2591)).
* `Control.on_update()` method for better custom controls.
* `--include-packages` option and support for `pubspec.yaml` for custom Flutter packages plus API for adding custom Flutter packages.
* Add `rtl` property to multiple controls ([#2582](https://github.com/flet-dev/flet/issues/2582)).
* Fix: Material icon is shown instead of Cupertino icon if its name is thesame ([#2581](https://github.com/flet-dev/flet/issues/2581)).
Expand Down
1 change: 1 addition & 0 deletions packages/flet/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* `Page.design` and `Pagelet.design` properties to force Material, Cupertino or Adaptive design language on entire app ([#2607](https://github.com/flet-dev/flet/issues/2607)).
* `Page.media` property with the data about obstructed spaces on the device ([#2613](https://github.com/flet-dev/flet/issues/2613)).
* Adaptive buttons ([#2591](https://github.com/flet-dev/flet/issues/2591)).
* `Control.on_update()` method for better custom controls.
* `--include-packages` option and support for `pubspec.yaml` for custom Flutter packages plus API for adding custom Flutter packages.
* Add `rtl` property to multiple controls ([#2582](https://github.com/flet-dev/flet/issues/2582)).
* Fix: Material icon is shown instead of Cupertino icon if its name is thesame ([#2581](https://github.com/flet-dev/flet/issues/2581)).
Expand Down
4 changes: 2 additions & 2 deletions sdk/python/packages/flet/src/flet/cli/commands/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,11 @@ def add_arguments(self, parser: argparse.ArgumentParser) -> None:
help="additional arguments for flutter build command",
)
parser.add_argument(
"--packages",
"--include-packages",
dest="flutter_packages",
nargs="+",
default=[],
help="extra Flutter Flet packages, such as flet_video, flet_audio, etc.",
help="include extra Flutter Flet packages, such as flet_video, flet_audio, etc.",
)
parser.add_argument(
"--build-number",
Expand Down

0 comments on commit a38c736

Please sign in to comment.