about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorhacker1024 <hacker1024@users.sourceforge.net>2024-01-19 11:07:33 +1100
committerhacker1024 <hacker1024@users.sourceforge.net>2024-01-19 11:07:33 +1100
commit64f9fa0d2c0ace8013a56cc15a86fea16c64f57b (patch)
tree8c3455c5d1116b8bac44c144f5151fbf1809a33d /doc
parent3b33435d02dbe0f41829e97d8880c9f3d4bc60b2 (diff)
buildFlutterApplication: Change flutterHostPlatform to targetFlutterPlatform
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/dart.section.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/languages-frameworks/dart.section.md b/doc/languages-frameworks/dart.section.md
index c12076b8c6cf2..58ee2d5050acb 100644
--- a/doc/languages-frameworks/dart.section.md
+++ b/doc/languages-frameworks/dart.section.md
@@ -105,8 +105,8 @@ flutter.buildFlutterApplication {
   pname = "firmware-updater";
   version = "unstable-2023-04-30";
 
-  # To build for the Web, use the flutterHostPlatform argument.
-  # flutterHostPlatform = "web";
+  # To build for the Web, use the targetFlutterPlatform argument.
+  # targetFlutterPlatform = "web";
 
   src = fetchFromGitHub {
     owner = "canonical";
@@ -126,7 +126,7 @@ Flutter-specific `nix-shell` usage notes are included here. See the [Dart docume
 
 #### Entering the shell {#ssec-dart-flutter-nix-shell-enter}
 
-By default, dependencies for only the `flutterHostPlatform` are available in the
+By default, dependencies for only the `targetFlutterPlatform` are available in the
 build environment. This is useful for keeping closures small, but be problematic
 during development. It's common, for example, to build Web apps for Linux during
 development to take advantage of native features such as stateful hot reload.