Repository: flutter
Issue: [WebGL][Flutter-web]INVALID_OPERATION: texImage2D: source sub-rectangle specified via pixel unpack parameters is invalid
Labels: engine,a: images,c: rendering,e: web_canvaskit,has reproducible steps,P2,team-web,triaged-web,found in release: 3.16,found in release: 3.18

### Steps to reproduce

Use flutter web to display some special picture. I don't know exactly what kind of pictures will cause this problem. But i supplied one ([flutter_web_webgl_wrong](https://github.com/huanghui1998hhh/flutter_web_webgl_wrong)).

### Expected results

Images can be displayed normally.

### Actual results

![image](https://github.com/flutter/flutter/assets/65709676/e9a83606-86b2-4101-af10-634a3664258b)


### Code sample

I create a repo [flutter_web_webgl_wrong](https://github.com/huanghui1998hhh/flutter_web_webgl_wrong) to show it.

### Screenshots or Video

_No response_

### Logs

<details open><summary>This is the function call stack in debug mode</summary>

```console
canvaskit.js:21 WebGL: INVALID_OPERATION: texImage2D: source sub-rectangle specified via pixel unpack parameters is invalid
makeTexture @ canvaskit.js:21
(anonymous) @ canvaskit.js:167
O @ canvaskit.js:166
$func8666 @ canvaskit.wasm:0x4239a6
$func7398 @ canvaskit.wasm:0x3d223a
$func3986 @ canvaskit.wasm:0x222fec
$func750 @ canvaskit.wasm:0x34f43
$func4297 @ canvaskit.wasm:0x252dea
$func2751 @ canvaskit.wasm:0x13a8c2
$func7987 @ canvaskit.wasm:0x3f0b45
$func5638 @ canvaskit.wasm:0x31acf1
$func986 @ canvaskit.wasm:0x507d2
$func2275 @ canvaskit.wasm:0xf3faa
$func3070 @ canvaskit.wasm:0x170a9a
$func7575 @ canvaskit.wasm:0x3de5f1
$func5446 @ canvaskit.wasm:0x2fde97
$func1071 @ canvaskit.wasm:0x56a91
$func10523 @ canvaskit.wasm:0x480029
$func899 @ canvaskit.wasm:0x45aaf
(anonymous) @ canvaskit.js:115
a.Canvas.drawPicture @ canvaskit.js:49
drawPicture @ canvas.dart:213
paint @ layer.dart:487
paintChildren @ layer.dart:138
paint @ layer.dart:367
paintChildren @ layer.dart:138
paint @ layer.dart:367
paintChildren @ layer.dart:138
paint @ layer.dart:367
paintChildren @ layer.dart:138
paint @ layer.dart:151
paint @ layer_tree.dart:52
(anonymous) @ layer_tree.dart:95
timeAction @ profiler.dart:41
raster @ layer_tree.dart:94
draw @ rasterizer.dart:34
renderScene @ renderer.dart:380
render @ platform_dispatcher.dart:712
render @ window.dart:108
compositeFrame @ view.dart:256
drawFrame @ binding.dart:596
drawFrame @ binding.dart:986
[_handlePersistentFrameCallback] @ binding.dart:457
[_invokeFrameCallback] @ binding.dart:1325
handleDrawFrame @ binding.dart:1255
[_handleDrawFrame] @ binding.dart:1113
invoke @ platform_dispatcher.dart:1274
invokeOnDrawFrame @ platform_dispatcher.dart:248
(anonymous) @ initialization.dart:186
_checkAndCall @ operations.dart:574
dcall @ operations.dart:579
ret @ js_allow_interop_patch.dart:17
requestAnimationFrame (async)
DomWindowExtension$124requestAnimationFrame @ dom.dart:141
(anonymous) @ initialization.dart:155
scheduleFrame @ platform_dispatcher.dart:683
scheduleFrame @ binding.dart:880
ensureVisualUpdate @ binding.dart:833
[_handleBuildScheduled] @ binding.dart:873
scheduleBuildFor @ framework.dart:2721
markNeedsBuild @ framework.dart:5050
setState @ framework.dart:1223
[_handleImageFrame] @ image.dart:1146
setImage @ image_stream.dart:711
[_emitFrame] @ image_stream.dart:1061
_decodeNextFrameAndSchedule @ image_stream.dart:1040
(anonymous) @ async_patch.dart:45
runUnary @ zone.dart:1661
handleValue @ future_impl.dart:162
handleValueCallback @ future_impl.dart:846
_propagateToListeners @ future_impl.dart:875
[_completeWithValue] @ future_impl.dart:647
(anonymous) @ future_impl.dart:721
_microtaskLoop @ schedule_microtask.dart:40
_startMicrotaskLoop @ schedule_microtask.dart:49
(anonymous) @ async_patch.dart:181
Promise.then (async)
_scheduleImmediateWithPromise @ async_patch.dart:179
_scheduleImmediate @ async_patch.dart:151
_scheduleAsyncCallback @ schedule_microtask.dart:69
_rootScheduleMicrotask @ zone.dart:1466
scheduleMicrotask @ zone.dart:1681
[_asyncCompleteWithValue] @ future_impl.dart:720
[_asyncComplete] @ future_impl.dart:680
complete @ future_impl.dart:44
(anonymous) @ js_util_patch.dart:483
Promise.then (async)
promiseToFuture @ js_util_patch.dart:495
promiseToFuture$ @ safe_browser_api.dart:54
getNextFrame @ image_decoder.dart:174
(anonymous) @ async_patch.dart:45
runUnary @ zone.dart:1661
handleValue @ future_impl.dart:162
handleValueCallback @ future_impl.dart:846
_propagateToListeners @ future_impl.dart:875
[_completeWithValue] @ future_impl.dart:647
(anonymous) @ future_impl.dart:721
_microtaskLoop @ schedule_microtask.dart:40
_startMicrotaskLoop @ schedule_microtask.dart:49
(anonymous) @ async_patch.dart:181
Promise.then (async)
_scheduleImmediateWithPromise @ async_patch.dart:179
_scheduleImmediate @ async_patch.dart:151
_scheduleAsyncCallback @ schedule_microtask.dart:69
_rootScheduleMicrotask @ zone.dart:1466
scheduleMicrotask @ zone.dart:1681
[_asyncCompleteWithValue] @ future_impl.dart:720
[_asyncComplete] @ future_impl.dart:680
complete @ future_impl.dart:44
(anonymous) @ js_util_patch.dart:483
Promise.then (async)
promiseToFuture @ js_util_patch.dart:495
promiseToFuture$ @ safe_browser_api.dart:54
_getOrCreateWebDecoder @ image_decoder.dart:125
(anonymous) @ async_patch.dart:45
runUnary @ zone.dart:1661
handleValue @ future_impl.dart:162
handleValueCallback @ future_impl.dart:846
_propagateToListeners @ future_impl.dart:875
[_completeWithValue] @ future_impl.dart:647
(anonymous) @ future_impl.dart:721
_microtaskLoop @ schedule_microtask.dart:40
_startMicrotaskLoop @ schedule_microtask.dart:49
(anonymous) @ async_patch.dart:181
Promise.then (async)
_scheduleImmediateWithPromise @ async_patch.dart:179
_scheduleImmediate @ async_patch.dart:151
_scheduleAsyncCallback @ schedule_microtask.dart:69
_rootScheduleMicrotask @ zone.dart:1466
scheduleMicrotask @ zone.dart:1681
[_asyncCompleteWithValue] @ future_impl.dart:720
[_asyncComplete] @ future_impl.dart:680
complete @ future_impl.dart:44
(anonymous) @ js_util_patch.dart:483
Promise.then (async)
promiseToFuture @ js_util_patch.dart:495
promiseToFuture$ @ safe_browser_api.dart:54
_getOrCreateWebDecoder @ image_decoder.dart:119
runBody @ async_patch.dart:84
_async @ async_patch.dart:127
[_getOrCreateWebDecoder] @ image_decoder.dart:91
initialize @ image_decoder.dart:89
create @ image_web_codecs.dart:51
runBody @ async_patch.dart:84
_async @ async_patch.dart:127
create @ image_web_codecs.dart:22
skiaInstantiateImageCodec @ image.dart:13
instantiateImageCodec @ renderer.dart:198
runBody @ async_patch.dart:84
_async @ async_patch.dart:127
instantiateImageCodec @ renderer.dart:193
instantiateImageCodecWithSize @ painting.dart:493
runBody @ async_patch.dart:84
_async @ async_patch.dart:127
instantiateImageCodecWithSize @ painting.dart:488
instantiateImageCodecWithSize @ binding.dart:141
_loadAsync @ image_provider.dart:759
(anonymous) @ async_patch.dart:45
runUnary @ zone.dart:1661
handleValue @ future_impl.dart:162
handleValueCallback @ future_impl.dart:846
_propagateToListeners @ future_impl.dart:875
[_completeWithValue] @ future_impl.dart:647
(anonymous) @ future_impl.dart:721
_microtaskLoop @ schedule_microtask.dart:40
_startMicrotaskLoop @ schedule_microtask.dart:49
(anonymous) @ async_patch.dart:181
Promise.then (async)
_scheduleImmediateWithPromise @ async_patch.dart:179
_scheduleImmediate @ async_patch.dart:151
_scheduleAsyncCallback @ schedule_microtask.dart:69
_rootScheduleMicrotask @ zone.dart:1466
scheduleMicrotask @ zone.dart:1681
[_asyncCompleteWithValue] @ future_impl.dart:720
[_asyncComplete] @ future_impl.dart:680
complete @ future_impl.dart:44
(anonymous) @ binding.dart:546
runUnaryGuarded @ zone.dart:1594
(anonymous) @ platform_dispatcher.dart:425
(anonymous) @ platform_dispatcher.dart:1241
runUnary @ zone.dart:1661
handleValue @ future_impl.dart:162
handleValueCallback @ future_impl.dart:846
_propagateToListeners @ future_impl.dart:875
[_complete] @ future_impl.dart:638
(anonymous) @ future.dart:424
internalCallback @ isolate_helper.dart:48
setTimeout (async)
_isolate_helper.TimerImpl.new @ isolate_helper.dart:55
_createTimer @ async_patch.dart:192
createTimer @ zone.dart:1685
new @ timer.dart:52
delayed @ future.dart:422
replyToPlatformMessage @ platform_dispatcher.dart:1239
_handleFlutterAssetsMessage @ platform_dispatcher.dart:643
(anonymous) @ async_patch.dart:45
runUnary @ zone.dart:1661
handleValue @ future_impl.dart:162
handleValueCallback @ future_impl.dart:846
_propagateToListeners @ future_impl.dart:875
[_completeWithValue] @ future_impl.dart:647
(anonymous) @ future_impl.dart:721
_microtaskLoop @ schedule_microtask.dart:40
_startMicrotaskLoop @ schedule_microtask.dart:49
(anonymous) @ async_patch.dart:181
Promise.then (async)
_scheduleImmediateWithPromise @ async_patch.dart:179
_scheduleImmediate @ async_patch.dart:151
_scheduleAsyncCallback @ schedule_microtask.dart:69
_rootScheduleMicrotask @ zone.dart:1466
scheduleMicrotask @ zone.dart:1681
[_asyncCompleteWithValue] @ future_impl.dart:720
[_asyncComplete] @ future_impl.dart:680
complete @ future_impl.dart:44
(anonymous) @ js_util_patch.dart:483
Promise.then (async)
promiseToFuture @ js_util_patch.dart:495
DomResponseExtension$124arrayBuffer @ dom.dart:1842
asByteBuffer @ dom.dart:1728
runBody @ async_patch.dart:84
_async @ async_patch.dart:127
asByteBuffer @ dom.dart:1727
HttpFetchResponseExtension$124asByteBuffer @ dom.dart:1602
_handleFlutterAssetsMessage @ platform_dispatcher.dart:642
(anonymous) @ async_patch.dart:45
runUnary @ zone.dart:1661
handleValue @ future_impl.dart:162
handleValueCallback @ future_impl.dart:846
_propagateToListeners @ future_impl.dart:875
[_completeWithValue] @ future_impl.dart:647
(anonymous) @ future_impl.dart:721
_microtaskLoop @ schedule_microtask.dart:40
_startMicrotaskLoop @ schedule_microtask.dart:49
(anonymous) @ async_patch.dart:181
Promise.then (async)
_scheduleImmediateWithPromise @ async_patch.dart:179
_scheduleImmediate @ async_patch.dart:151
_scheduleAsyncCallback @ schedule_microtask.dart:69
_rootScheduleMicrotask @ zone.dart:1466
scheduleMicrotask @ zone.dart:1681
[_asyncCompleteWithValue] @ future_impl.dart:720
[_asyncComplete] @ future_impl.dart:680
complete @ future_impl.dart:44
(anonymous) @ js_util_patch.dart:483
Promise.then (async)
promiseToFuture @ js_util_patch.dart:495
rawHttpGet @ dom.dart:1480
httpFetch @ dom.dart:1508
runBody @ async_patch.dart:84
_async @ async_patch.dart:127
httpFetch @ dom.dart:1500
loadAsset @ asset_manager.dart:83
_handleFlutterAssetsMessage @ platform_dispatcher.dart:641
runBody @ async_patch.dart:84
_async @ async_patch.dart:127
[_handleFlutterAssetsMessage] @ platform_dispatcher.dart:639
[_sendPlatformMessage] @ platform_dispatcher.dart:491
sendPlatformMessage @ platform_dispatcher.dart:354
send @ binding.dart:544
load @ asset_bundle.dart:319
loadBuffer @ asset_bundle.dart:343
runBody @ async_patch.dart:84
_async @ async_patch.dart:127
loadBuffer @ asset_bundle.dart:341
_loadAsync @ image_provider.dart:754
runBody @ async_patch.dart:84
_async @ async_patch.dart:127
[_loadAsync] @ image_provider.dart:746
loadImage @ image_provider.dart:714
(anonymous) @ image_provider.dart:520
putIfAbsent @ image_cache.dart:377
resolveStreamForKey @ image_provider.dart:517
resolveStreamForKey @ scroll_aware_image_provider.dart:104
(anonymous) @ image_provider.dart:366
(anonymous) @ image_provider.dart:479
runUnary @ zone.dart:1661
handleValue @ future_impl.dart:162
handleValueCallback @ future_impl.dart:846
_propagateToListeners @ future_impl.dart:875
[_completeWithValue] @ future_impl.dart:647
(anonymous) @ future_impl.dart:721
_microtaskLoop @ schedule_microtask.dart:40
_startMicrotaskLoop @ schedule_microtask.dart:49
(anonymous) @ async_patch.dart:181
Promise.then (async)
_scheduleImmediateWithPromise @ async_patch.dart:179
_scheduleImmediate @ async_patch.dart:151
_scheduleAsyncCallback @ schedule_microtask.dart:69
_rootScheduleMicrotask @ zone.dart:1466
scheduleMicrotask @ zone.dart:1681
[_asyncCompleteWithValue] @ future_impl.dart:720
[_asyncComplete] @ future_impl.dart:680
complete @ future_impl.dart:44
(anonymous) @ binding.dart:546
runUnaryGuarded @ zone.dart:1594
(anonymous) @ platform_dispatcher.dart:425
(anonymous) @ platform_dispatcher.dart:1241
runUnary @ zone.dart:1661
handleValue @ future_impl.dart:162
handleValueCallback @ future_impl.dart:846
_propagateToListeners @ future_impl.dart:875
[_complete] @ future_impl.dart:638
(anonymous) @ future.dart:424
internalCallback @ isolate_helper.dart:48
setTimeout (async)
_isolate_helper.TimerImpl.new @ isolate_helper.dart:55
_createTimer @ async_patch.dart:192
createTimer @ zone.dart:1685
new @ timer.dart:52
delayed @ future.dart:422
replyToPlatformMessage @ platform_dispatcher.dart:1239
_handleFlutterAssetsMessage @ platform_dispatcher.dart:643
(anonymous) @ async_patch.dart:45
runUnary @ zone.dart:1661
handleValue @ future_impl.dart:162
handleValueCallback @ future_impl.dart:846
_propagateToListeners @ future_impl.dart:875
[_completeWithValue] @ future_impl.dart:647
(anonymous) @ future_impl.dart:721
_microtaskLoop @ schedule_microtask.dart:40
_startMicrotaskLoop @ schedule_microtask.dart:49
(anonymous) @ async_patch.dart:181
Promise.then (async)
_scheduleImmediateWithPromise @ async_patch.dart:179
_scheduleImmediate @ async_patch.dart:151
_scheduleAsyncCallback @ schedule_microtask.dart:69
_rootScheduleMicrotask @ zone.dart:1466
scheduleMicrotask @ zone.dart:1681
[_asyncCompleteWithValue] @ future_impl.dart:720
[_asyncComplete] @ future_impl.dart:680
complete @ future_impl.dart:44
(anonymous) @ js_util_patch.dart:483
Promise.then (async)
promiseToFuture @ js_util_patch.dart:495
DomResponseExtension$124arrayBuffer @ dom.dart:1842
asByteBuffer @ dom.dart:1728
runBody @ async_patch.dart:84
_async @ async_patch.dart:127
asByteBuffer @ dom.dart:1727
HttpFetchResponseExtension$124asByteBuffer @ dom.dart:1602
_handleFlutterAssetsMessage @ platform_dispatcher.dart:642
(anonymous) @ async_patch.dart:45
runUnary @ zone.dart:1661
handleValue @ future_impl.dart:162
handleValueCallback @ future_impl.dart:846
_propagateToListeners @ future_impl.dart:875
[_completeWithValue] @ future_impl.dart:647
(anonymous) @ future_impl.dart:721
_microtaskLoop @ schedule_microtask.dart:40
_startMicrotaskLoop @ schedule_microtask.dart:49
(anonymous) @ async_patch.dart:181
Promise.then (async)
_scheduleImmediateWithPromise @ async_patch.dart:179
_scheduleImmediate @ async_patch.dart:151
_scheduleAsyncCallback @ schedule_microtask.dart:69
_rootScheduleMicrotask @ zone.dart:1466
scheduleMicrotask @ zone.dart:1681
[_asyncCompleteWithValue] @ future_impl.dart:720
[_asyncComplete] @ future_impl.dart:680
complete @ future_impl.dart:44
(anonymous) @ js_util_patch.dart:483
Promise.then (async)
promiseToFuture @ js_util_patch.dart:495
rawHttpGet @ dom.dart:1480
httpFetch @ dom.dart:1508
runBody @ async_patch.dart:84
_async @ async_patch.dart:127
httpFetch @ dom.dart:1500
loadAsset @ asset_manager.dart:83
_handleFlutterAssetsMessage @ platform_dispatcher.dart:641
runBody @ async_patch.dart:84
_async @ async_patch.dart:127
[_handleFlutterAssetsMessage] @ platform_dispatcher.dart:639
[_sendPlatformMessage] @ platform_dispatcher.dart:491
sendPlatformMessage @ platform_dispatcher.dart:354
send @ binding.dart:544
load @ asset_bundle.dart:319
loadString @ asset_bundle.dart:89
runBody @ async_patch.dart:84
_async @ async_patch.dart:127
loadString @ asset_bundle.dart:88
loadString @ asset_bundle.dart:192
loadStructuredData @ asset_bundle.dart:216
loadFromAssetBundle @ asset_manifest.dart:36
obtainKey @ image_resolution.dart:285
obtainKey @ scroll_aware_image_provider.dart:114
[_createErrorHandlerAndKey] @ image_provider.dart:471
resolve @ image_provider.dart:363
[_resolveImage] @ image.dart:1110
didChangeDependencies @ image.dart:1060
[_firstBuild] @ framework.dart:5620
mount @ framework.dart:5447
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
mount @ framework.dart:6736
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
performRebuild @ framework.dart:5496
rebuild @ framework.dart:5187
[_firstBuild] @ framework.dart:5453
mount @ framework.dart:5447
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
performRebuild @ framework.dart:5496
rebuild @ framework.dart:5187
[_firstBuild] @ framework.dart:5453
mount @ framework.dart:5447
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
performRebuild @ framework.dart:5496
rebuild @ framework.dart:5187
[_firstBuild] @ framework.dart:5453
mount @ framework.dart:5447
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
performRebuild @ framework.dart:5496
rebuild @ framework.dart:5187
[_firstBuild] @ framework.dart:5453
mount @ framework.dart:5447
inflateWidget @ framework.dart:4326
inflateWidget @ framework.dart:6871
mount @ framework.dart:6883
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
performRebuild @ framework.dart:5496
rebuild @ framework.dart:5187
[_firstBuild] @ framework.dart:5453
mount @ framework.dart:5447
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
performRebuild @ framework.dart:5496
performRebuild @ framework.dart:5634
rebuild @ framework.dart:5187
[_firstBuild] @ framework.dart:5453
[_firstBuild] @ framework.dart:5625
mount @ framework.dart:5447
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
performRebuild @ framework.dart:5496
performRebuild @ framework.dart:5634
rebuild @ framework.dart:5187
[_firstBuild] @ framework.dart:5453
[_firstBuild] @ framework.dart:5625
mount @ framework.dart:5447
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
performRebuild @ framework.dart:5496
rebuild @ framework.dart:5187
[_firstBuild] @ framework.dart:5453
mount @ framework.dart:5447
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
performRebuild @ framework.dart:5496
performRebuild @ framework.dart:5634
rebuild @ framework.dart:5187
[_firstBuild] @ framework.dart:5453
[_firstBuild] @ framework.dart:5625
mount @ framework.dart:5447
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
mount @ framework.dart:6736
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
performRebuild @ framework.dart:5496
rebuild @ framework.dart:5187
[_firstBuild] @ framework.dart:5453
mount @ framework.dart:5447
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
mount @ framework.dart:6736
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
performRebuild @ framework.dart:5496
performRebuild @ framework.dart:5634
rebuild @ framework.dart:5187
[_firstBuild] @ framework.dart:5453
[_firstBuild] @ framework.dart:5625
mount @ framework.dart:5447
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
performRebuild @ framework.dart:5496
performRebuild @ framework.dart:5634
rebuild @ framework.dart:5187
[_firstBuild] @ framework.dart:5453
[_firstBuild] @ framework.dart:5625
mount @ framework.dart:5447
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
performRebuild @ framework.dart:5496
rebuild @ framework.dart:5187
[_firstBuild] @ framework.dart:5453
mount @ framework.dart:5447
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
performRebuild @ framework.dart:5496
rebuild @ framework.dart:5187
[_firstBuild] @ framework.dart:5453
mount @ framework.dart:5447
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
performRebuild @ framework.dart:5496
rebuild @ framework.dart:5187
[_firstBuild] @ framework.dart:5453
mount @ framework.dart:5447
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
performRebuild @ framework.dart:5496
performRebuild @ framework.dart:5634
rebuild @ framework.dart:5187
[_firstBuild] @ framework.dart:5453
[_firstBuild] @ framework.dart:5625
mount @ framework.dart:5447
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
performRebuild @ framework.dart:5496
rebuild @ framework.dart:5187
[_firstBuild] @ framework.dart:5453
mount @ framework.dart:5447
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
performRebuild @ framework.dart:5496
performRebuild @ framework.dart:5634
rebuild @ framework.dart:5187
[_firstBuild] @ framework.dart:5453
[_firstBuild] @ framework.dart:5625
mount @ framework.dart:5447
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
mount @ framework.dart:6736
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
performRebuild @ framework.dart:5496
rebuild @ framework.dart:5187
[_firstBuild] @ framework.dart:5453
mount @ framework.dart:5447
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
mount @ framework.dart:6736
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
mount @ framework.dart:6736
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
performRebuild @ framework.dart:5496
performRebuild @ framework.dart:5634
rebuild @ framework.dart:5187
[_firstBuild] @ framework.dart:5453
[_firstBuild] @ framework.dart:5625
mount @ framework.dart:5447
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
mount @ framework.dart:6736
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
performRebuild @ framework.dart:5496
performRebuild @ framework.dart:5634
rebuild @ framework.dart:5187
[_firstBuild] @ framework.dart:5453
[_firstBuild] @ framework.dart:5625
mount @ framework.dart:5447
inflateWidget @ framework.dart:4326
updateChild @ framework.dart:3837
setTimeout (async)
_isolate_helper.TimerImpl.new @ isolate_helper.dart:55
_createTimer @ async_patch.dart:192
createTimer @ zone.dart:1685
new @ timer.dart:52
run @ timer.dart:111
scheduleAttachRootWidget @ binding.dart:1050
(anonymous) @ binding.dart:1194
runApp @ binding.dart:1195
main$ @ main.dart:4
(anonymous) @ web_entrypoint.dart:24
(anonymous) @ initialization.dart:41
(anonymous) @ async_patch.dart:45
runUnary @ zone.dart:1661
handleValue @ future_impl.dart:162
handleValueCallback @ future_impl.dart:846
_propagateToListeners @ future_impl.dart:875
[_completeWithValue] @ future_impl.dart:647
(anonymous) @ future_impl.dart:721
_microtaskLoop @ schedule_microtask.dart:40
_startMicrotaskLoop @ schedule_microtask.dart:49
(anonymous) @ async_patch.dart:181
Promise.then (async)
_scheduleImmediateWithPromise @ async_patch.dart:179
_scheduleImmediate @ async_patch.dart:151
_scheduleAsyncCallback @ schedule_microtask.dart:69
_rootScheduleMicrotask @ zone.dart:1466
scheduleMicrotask @ zone.dart:1681
[_asyncCompleteWithValue] @ future_impl.dart:720
[_asyncComplete] @ future_impl.dart:680
_Future.immediate @ future_impl.dart:287
value @ future.dart:352
_engine.EngineFlutterWindow.new @ window.dart:147
get window @ window.dart:376
desc.get @ operations.dart:1430
_engine.FlutterViewEmbedder.new @ embedder.dart:42
ensureFlutterViewEmbedderInitialized @ embedder.dart:332
initializeEngineUi @ initialization.dart:223
runBody @ async_patch.dart:84
_async @ async_patch.dart:127
initializeEngineUi @ initialization.dart:207
(anonymous) @ initialization.dart:39
runBody @ async_patch.dart:84
_async @ async_patch.dart:127
(anonymous) @ initialization.dart:35
_checkAndCall @ operations.dart:574
callMethod @ operations.dart:644
dsend @ operations.dart:648
(anonymous) @ app_bootstrap.dart:56
runBody @ async_patch.dart:84
_async @ async_patch.dart:127
(anonymous) @ app_bootstrap.dart:55
(anonymous) @ js_loader.dart:74
_checkAndCall @ operations.dart:574
dcall @ operations.dart:579
ret @ js_allow_interop_patch.dart:17
(anonymous) @ (index):52
Promise.then (async)
onEntrypointLoaded @ (index):51
didCreateEngineInitializer @ flutter.js:272
bootstrapEngine @ initialization.dart:54
runBody @ async_patch.dart:84
_async @ async_patch.dart:127
bootstrapEngine @ initialization.dart:27
main @ web_entrypoint.dart:19
runBody @ async_patch.dart:84
_async @ async_patch.dart:127
main$ @ web_entrypoint.dart:18
(anonymous) @ main_module.bootstrap.js:23
window.$dartRunMain @ main_module.bootstrap.js:22
(anonymous) @ unknown
runMain @ client.js:8979
(anonymous) @ client.js:24972
(anonymous) @ client.js:3589
call$2 @ client.js:11698
_asyncStartSync @ client.js:3553
$call$body$main__closure @ client.js:24985
call$1 @ client.js:24911
_rootRunUnary @ client.js:3948
runUnary$2$2 @ client.js:13095
runUnaryGuarded$1$2 @ client.js:13042
_sendData$1 @ client.js:12635
_add$1 @ client.js:12581
_add$1 @ client.js:12916
_handleData$2 @ client.js:12979
_handleData$1 @ client.js:12942
(anonymous) @ client.js:1348
_rootRunUnary @ client.js:3948
runUnary$2$2 @ client.js:13095
runUnaryGuarded$1$2 @ client.js:13042
_sendData$1 @ client.js:12635
_add$1 @ client.js:12581
_sendData$1 @ client.js:12427
add$1 @ client.js:12306
(anonymous) @ client.js:1406
_rootRunUnary @ client.js:3948
runUnary$2$2 @ client.js:13095
runUnaryGuarded$1$2 @ client.js:13042
_sendData$1 @ client.js:12635
_add$1 @ client.js:12581
_sendData$1 @ client.js:12427
add$1 @ client.js:12306
add$1 @ client.js:24411
call$1 @ client.js:24701
call$1 @ client.js:18104
_rootRunUnary @ client.js:3952
runUnary$2$2 @ client.js:13095
runUnaryGuarded$1$2 @ client.js:13042
call$1 @ client.js:13232
invokeClosure @ client.js:1238
(anonymous) @ client.js:1257
```

</details>


### Flutter Doctor output

The latest master branch.
<details open><summary>Doctor output</summary>

```console
[!] Flutter (Channel master, 3.18.0-18.0.pre.39, on Microsoft Windows [版本 10.0.22631.2861], locale zh-CN)
    • Flutter version 3.18.0-18.0.pre.39 on channel master at E:\fvm-flutter-cache\versions\master
    ! Warning: `flutter` on your path resolves to E:\fvm-flutter-cache\versions\stable\bin\flutter, which is not inside your current Flutter SDK checkout at E:\fvm-flutter-cache\versions\master. Consider adding E:\fvm-flutter-cache\versions\master\bin to the front of your path.
    ! Warning: `dart` on your path resolves to E:\fvm-flutter-cache\versions\stable\bin\dart, which is not inside your current Flutter SDK checkout at E:\fvm-flutter-cache\versions\master. Consider adding E:\fvm-flutter-cache\versions\master\bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b0b0e423d6 (7 hours ago), 2023-12-28 09:38:38 +0800
    • Engine revision afd214dccc
    • Dart version 3.3.0 (build 3.3.0-264.0.dev)
    • DevTools version 2.31.0-dev.0
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at C:\Users\Admin\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.2
    • Java binary at: E:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 2022.2)
    • Android Studio at E:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)

[√] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 120.0.6099.130
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 120.0.2210.91
```

</details>