mainAxisSize : MainAxisSize .min,
mainAxisSize : MainAxisSize .min,
child : const Text ( 'Top' ),
onPressed : () => showShadSheet (
const EditProfileSheet (side : ShadSheetSide .top),
child : const Text ( 'Bottom' ),
onPressed : () => showShadSheet (
side : ShadSheetSide .bottom,
builder : (context) => const EditProfileSheet (
side : ShadSheetSide .bottom),
mainAxisSize : MainAxisSize .min,
child : const Text ( 'Right' ),
onPressed : () => showShadSheet (
side : ShadSheetSide .right,
builder : (context) => const EditProfileSheet (
side : ShadSheetSide .right),
child : const Text ( 'Left' ),
onPressed : () => showShadSheet (
side : ShadSheetSide .left,
builder : (context) => const EditProfileSheet (
side : ShadSheetSide .left),
// See EditProfileSheet code in the previous code example