Skip to content

Commit 3bbb0fb

Browse files
committed
Rename --packages to --include-packages
1 parent 9f3595b commit 3bbb0fb

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* `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)).
99
* `Page.media` property with the data about obstructed spaces on the device ([#2613](https://github.com/flet-dev/flet/issues/2613)).
1010
* Adaptive buttons ([#2591](https://github.com/flet-dev/flet/issues/2591)).
11+
* `Control.on_update()` method for better custom controls.
1112
* `--include-packages` option and support for `pubspec.yaml` for custom Flutter packages plus API for adding custom Flutter packages.
1213
* Add `rtl` property to multiple controls ([#2582](https://github.com/flet-dev/flet/issues/2582)).
1314
* Fix: Material icon is shown instead of Cupertino icon if its name is thesame ([#2581](https://github.com/flet-dev/flet/issues/2581)).

packages/flet/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* `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)).
77
* `Page.media` property with the data about obstructed spaces on the device ([#2613](https://github.com/flet-dev/flet/issues/2613)).
88
* Adaptive buttons ([#2591](https://github.com/flet-dev/flet/issues/2591)).
9+
* `Control.on_update()` method for better custom controls.
910
* `--include-packages` option and support for `pubspec.yaml` for custom Flutter packages plus API for adding custom Flutter packages.
1011
* Add `rtl` property to multiple controls ([#2582](https://github.com/flet-dev/flet/issues/2582)).
1112
* Fix: Material icon is shown instead of Cupertino icon if its name is thesame ([#2581](https://github.com/flet-dev/flet/issues/2581)).

sdk/python/packages/flet/src/flet/cli/commands/build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,11 @@ def add_arguments(self, parser: argparse.ArgumentParser) -> None:
219219
help="additional arguments for flutter build command",
220220
)
221221
parser.add_argument(
222-
"--packages",
222+
"--include-packages",
223223
dest="flutter_packages",
224224
nargs="+",
225225
default=[],
226-
help="extra Flutter Flet packages, such as flet_video, flet_audio, etc.",
226+
help="include extra Flutter Flet packages, such as flet_video, flet_audio, etc.",
227227
)
228228
parser.add_argument(
229229
"--build-number",

0 commit comments

Comments
 (0)