File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments