══╡ EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE ╞════════════════════════════════════════════════════
The following HandshakeException was thrown resolving an image codec:
Handshake error in client (OS Error:
CERTIFICATE_VERIFY_FAILED: certificate has expired(handshake.cc:354))
When the exception was thrown, this was the stack:
...
Image provider: NetworkImage("https://resources.ninghao.org/images/candy-shop.jpg", scale: 1.0)
Image key: NetworkImage("https://resources.ninghao.org/images/candy-shop.jpg", scale: 1.0)
════════════════════════════════════════════════════════════════════════════════════════════════════
post也定义了图片路径
final List posts = [
Post(
title: 'Candy Shop',
author: 'Mohamed Chahin',
imageUrl: 'https://resources.ninghao.org/images/candy-shop.jpg',
),
main里面
children: [
Image.network(posts[index].imageUrl),
这个问题咋改