Skip to content

sample code for Custom image providers throwing error on run #155935

@satyajitnayk

Description

@satyajitnayk

Page URL

https://api.flutter.dev/flutter/widgets/Image-class.html

Page source

No response

Describe the problem

image

Error message:

unsupported library on the web: 'dart:io'
Try removing the import and usage of the library.

Unsupported operation: Platform._version

Expected fix

Need to fix the given sample code to run with out error

Additional context

No response

I would like to fix this problem.

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

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listd: api docsIssues with https://api.flutter.dev/d: examplesSample code and demosframeworkflutter/packages/flutter repository. See also f: labels.good first issueRelatively approachable for first-time contributorsplatform-webWeb applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions