File tree 1 file changed +10
-3
lines changed
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/).
38
38
39
39
## Usage
40
40
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.
43
44
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.
45
52
46
53
## Development
47
54
You can’t perform that action at this time.
0 commit comments