You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can someone show an example of how to use Minio in Flutter Web ?
I am new and cannot find any example on it.
My goal is straight forward. In Flutter Web, pick an image with ImagePicker and upload to S3.
Thanks and appreciate for any expert assistance.
There is an example now: example/web_upload_example.dart. It shows the
upload half of a browser upload: the bytes of the file the user picked (read
with package:web or dart:html) are handed to putObject as a Stream<Uint8List>, and the progress is reported. The example itself stays
free of dart:html, so it runs on the server too.
Two things to keep in mind on the web: the request is signed in the browser,
so the access key is visible to the user — use a presigned URL for anything
that matters, and make sure the bucket allows CORS for your origin.
Activity
arrrrny commentedon Oct 22, 2026
There is an example now:
example/web_upload_example.dart. It shows theupload half of a browser upload: the bytes of the file the user picked (read
with
package:webordart:html) are handed toputObjectas aStream<Uint8List>, and the progress is reported. The example itself staysfree of
dart:html, so it runs on the server too.Two things to keep in mind on the web: the request is signed in the browser,
so the access key is visible to the user — use a presigned URL for anything
that matters, and make sure the bucket allows CORS for your origin.
arrrrny commentedon Oct 22, 2026
This ships in zuraffa_minio — the maintained fork of this package, which upstream has not touched since August 2025.
The fork keeps the API of the original package unchanged, so moving over is an import swap:
Source, the changelog and the sweep of the open issues of this tracker: https://github.com/arrrrny/zuraffa_minio