Retrieve URLs for assets in public buckets
buckets
permissions: noneobjects
permissions: noneThe path and name of the file to generate the public URL for. For example folder/image.png.
Transform the asset before serving it to the client.
final String publicUrl = supabase .storage .from('public-bucket') .getPublicUrl('avatar1.png');
final String publicUrl = await supabase .storage .from('public-bucket') .getPublicUrl( 'avatar1.png', transform: TransformOptions( width: 200, height: 200, ), );