dio_web_adapter 2.2.0 copy "dio_web_adapter: ^2.2.0" to clipboard
dio_web_adapter: ^2.2.0 copied to clipboard

Platformweb

An adapter that supports Dio on Web.

CHANGELOG #

Unreleased #

None.

2.2.0 #

  • Support Dio.download on Web by fetching bytes and triggering a browser download with a Blob URL.

2.1.2 #

  • Fix inaccurate timeout type detection using xhr.readyState instead of timer existence.

2.1.1 #

2.1.0 #

  • Support FileAccessMode in Dio.download and Dio.downloadUri to change download file opening mode.

2.0.0 #

  • Supports the WASM environment. Users should upgrade the adapter with dart pub upgrade or flutter pub upgrade to use the WASM-supported version.

1.0.1 #

  • Improves warning logs on the Web platform.

1.0.0 #

  • Split the Web ability from the package:dio.