Sheet
A modal sheet is an alternative to a menu or a dialog and prevents the user from interacting with the rest of the app. It navigates to a new page each time.
A closely related widget is a persistent sheet, which shows information that supplements the primary content of the app without preventing the user from interacting with the app.
Preview
Usage
showFSheet(...)
showFSheet(
context: context,
side: FLayout.ltr,
useRootNavigator: true,
useSafeArea: false,
mainAxisMaxRatio: null,
constraints: const BoxConstraints(maxWidth: 450, maxHeight: 450),
barrierDismissible: true,
draggable: true,
builder: (context) => const Placeholder(),
);
Examples
With DraggableScrollableSheet
Preview
Last updated on