from.list()

Lists all the files within a bucket.

1final List<FileObject> objects = await supabase
2  .storage
3  .from('avatars')
4  .list();

Notes#

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

Examples#

List files in a bucket#

1final List<FileObject> objects = await supabase
2  .storage
3  .from('avatars')
4  .list();