Skip to content

Document AssetBundle.load better and provide examples #17160

@matanlurey

Description

@matanlurey

API Docs: https://docs.flutter.io/flutter/services/AssetBundle/load.html

Unfortunately, as viewed in this stack overflow post, it's not apparent to users what ByteData can be used for/with. Perhaps the docs for the load method should give an example or two.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: assetsPackaging, accessing, or using assetsd: api docsIssues with https://api.flutter.dev/d: examplesSample code and demosframeworkflutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer version

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions