══╡ 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:393))
When the exception was thrown, this was the stack:
#0 _SecureFilterImpl._handshake (dart:io-patch/secure_socket_patch.dart:99:46)
#1 _SecureFilterImpl.handshake (dart:io-patch/secure_socket_patch.dart:142:25)
#2 _RawSecureSocket._secureHandshake (dart:io/secure_socket.dart:911:54)
#3 _RawSecureSocket._tryFilter (dart:io/secure_socket.dart:1040:19)
<asynchronous suspension>
Image provider: NetworkImage("https://avatars.dicebear.com/api/micah/your-custom-seed.jpg", scale:
1.0)
Image key: NetworkImage("https://avatars.dicebear.com/api/micah/your-custom-seed.jpg", scale: 1.0)
════════════════════════════════════════════════════════════════════════════════════════════════════
I was trying to integrate profile pictures into my Flutter app.
CircleAvatar(
// TODO username, color integration with api
backgroundImage: NetworkImage(
'https://avatars.dicebear.com/api/micah/your-custom-seed.jpg'),
radius: 17.0,
// backgroundColor: Colors.transparent,
),
How can I solve this problem?