createBucket()
Creates a new Storage bucket
1final String bucketId = await supabase 2 .storage 3 .createBucket('avatars');
Notes#
- Policy permissions required:
buckets
permissions:insert
objects
permissions: none
Examples#
Create bucket#
1final String bucketId = await supabase 2 .storage 3 .createBucket('avatars');