Skip to content

Commit 4d37c45

Browse files
authored
[native_assets_cli] Update readme (#1936)
1 parent c817a5e commit 4d37c45

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

pkgs/native_assets_cli/README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,17 @@ Example can be found in [example/build/](example/build/).
3838

3939
## Usage
4040

41-
Using the native assets feature requires passing
42-
`--enable-experiment=native-assets` in Dart on a dev build.
41+
To use native asset in Dart, pass `--enable-experiment=native-assets`. Native
42+
assets work on Dart stable, but prefer using the dev releases as we regularly
43+
break things.
4344

44-
The native assets feature is not yet available in Flutter.
45+
To use native assets in Flutter, use
46+
`flutter config --enable-experiment=native-assets` and then
47+
`flutter create --template=package_ffi <package_name>`. In Flutter, the
48+
experiment is only available on the master channel.
49+
50+
We do breaking changes regularly! So frequently bump `package:native_assets_cli`
51+
and use dev/master SDK for CI.
4552

4653
## Development
4754

0 commit comments

Comments
 (0)