@@ -64,8 +64,10 @@ abstract final class NativeCodeAsset implements Asset {
64
64
/// How this file is bundled depends on the kind of asset, represented by a
65
65
/// concrete subtype of [Asset] , and the SDK (Dart or Flutter).
66
66
///
67
- /// If the [linkMode] is [DynamicLoadingBundled] , the file most be provided in
68
- /// the [BuildOutput] for [BuildConfig.dryRun] .
67
+ /// If the [linkMode] is [DynamicLoadingBundled] , the file name must be
68
+ /// provided in the [BuildOutput] for [BuildConfig.dryRun] . Supplying a file
69
+ /// name instead of an absolute path is enough for [BuildConfig.dryRun] . The
70
+ /// file does not have to exist on disk during a dry run.
69
71
///
70
72
/// If the [linkMode] is [DynamicLoadingSystem] , [LookupInProcess] , or
71
73
/// [LookupInExecutable] the file must be omitted in the [BuildOutput] for
@@ -126,8 +128,13 @@ abstract final class DynamicLoading implements LinkMode {}
126
128
/// At runtime, the dynamic library will be loaded and the symbols will be
127
129
/// looked up in this dynamic library.
128
130
///
129
- /// An asset with this dynamic loading method must provide a [Asset.file] . The
130
- /// Dart and Flutter SDK will bundle this code in the final application.
131
+ /// An asset with this dynamic loading method must provide a
132
+ /// [NativeCodeAsset.file] . The Dart and Flutter SDK will bundle this code in
133
+ /// the final application.
134
+ ///
135
+ /// During a [BuildConfig.dryRun] , the [NativeCodeAsset.file] can be a file name
136
+ /// instead of a the full path. The file does not have to exist during a dry
137
+ /// run.
131
138
abstract final class DynamicLoadingBundled implements DynamicLoading {
132
139
factory DynamicLoadingBundled () = DynamicLoadingBundledImpl ;
133
140
}
0 commit comments