-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Open
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.tool-still-validIssues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.Issues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team
Description
The hook/build.dart
of packages should be able to not only add native code assets, but also data assets.
In Flutter, these data assets should be made available through the existing asset bundle API.
This issue tracks the flutter implementation for this in flutter tools.
- Add
data_asset
toBuildConfig.supportedAssetTypes
. - Bundle the [
DataAsset
]s fromBuildOutput.assets
in Flutter applications (on all 5 OSes, in all modes).- Open question: should asset contents be refreshed on hot reload / hot restart?
Tracking issue for Dart and Flutter combined:
Umbrella issue for native assets:
nmfisher and phamconganh
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.tool-still-validIssues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.Issues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team