nestedModal<T> function
Future<T?>
nestedModal<T>(
- BuildContext context,
- WidgetBuilder scrollBuilder, {
- bool displayDragHandle = true,
- required PathRouteSettings? settings,
Implementation
Future<T?> nestedModal<T>(
BuildContext context,
WidgetBuilder scrollBuilder, {
bool displayDragHandle = true,
required PathRouteSettings? settings,
}) {
Widget? w;
return context.page<T>((context) {
return w ??= scrollBuilder(context);
});
}