from.download()

Downloads a file.

1final Uint8List file = await supabase
2  .storage
3  .from('avatars')
4  .download('avatar1.png');

Notes#

  • Policy permissions required:
    • buckets permissions: none
    • objects permissions: select

Examples#

Download file#

1final Uint8List file = await supabase
2  .storage
3  .from('avatars')
4  .download('avatar1.png');