Flutter: Create a bucket | Supabase Docs (original) (raw)

Creates a new Storage bucket

Parameters

(Required)
A unique identifier for the bucket you are creating.

(Optional)
A parameter to optionally make the bucket public.

Examples

Create bucket

final String bucketId = await supabase
  .storage
  .createBucket('avatars');