Skip to content

Missing breadcrumb from the assets documentation to the platforms option under the assets section of the pubspec #13260

@navaronbracke

Description

@navaronbracke

What information needs to be added?

flutter/flutter#176393 added the ability to add platform specific assets, by configuring this in the pubspec.yaml

However, I don't see any mention of this in the main documentation for assets in https://docs.flutter.dev/ui/assets/assets-and-images

I also looked at https://docs.flutter.dev/ui/assets/asset-transformation although that page is specifically for asset transformers, so does not apply here.

Instead, it exists in https://docs.flutter.dev/tools/pubspec#assets but the breadcrumb is missing

Where should this new content appear?

I would put a section just above https://docs.flutter.dev/ui/assets/assets-and-images#automatic-transformation-of-asset-files-at-build-time

We should also add a note to clarify since which Flutter version this is available. (3.41.0)

I would like to fix this problem.

  • I will try and fix this problem on docs.flutter.dev.

Metadata

Metadata

Assignees

No one assigned

    Labels

    co.requestCommunity ask for documentationd.enhancementImproves docs with specific aske1-hoursEffort: < 8 hrsp1-highMajor but not urgent concern: Resolve in months. Update each month.t.ui.assetsRelates to adding or changing images, videos, and other assets

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions