Skip to content

Meet a invaild image error #214

Open
Open
@781jj

Description

@781jj

Affected version

0.13.2

No same issues found

  • Yes, I search all issues but not found.

Bug type

Others

Which frontend framework you are using.

Flutter 3.3.10 • channel stable • https://github.com/flutter/flutter.git Framework • revision 135454af32 (3 weeks ago) • 2022-12-15 07:36:55 -0800 Engine • revision 3316dd8728 Tools • Dart 2.18.6 • DevTools 2.15.0

Steps to reproduce

  1. Update the flutter version to the newest version with flutter upgrade
  2. Integrate the openWebF with the document
  3. Change the url to https://docs.alipayplus.com/alipayplus/
  4. Meet a invalid image error

Code example

Widget build(BuildContext context) {
final MediaQueryData queryData = MediaQuery.of(context);
final Size viewportSize = queryData.size;

return Scaffold(
    body: Center(
      child: Column(
        children: [
          WebF(
            devToolsService: ChromeDevToolsService(), // Enable Chrome DevTools Services
            viewportWidth: viewportSize.width - queryData.padding.horizontal, // Adjust the viewportWidth
            viewportHeight: viewportSize.height - queryData.padding.vertical, // Adjust the viewportHeight
            bundle: WebFBundle.fromUrl('https://docs.alipayplus.com/alipayplus/'), // The page entry point
          ),
        ],
      ),
    ));

Expected results

Render the page suceessfully

Actual results

Render the page failed.
And the AS print a invalid image error

image

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions