showBottomDrawer static method

Future<Object?> showBottomDrawer(
  1. BuildContext context,
  2. Widget view, {
  3. double? windowHeight,
  4. Color barrierColor = Colors.black54,
  5. bool barrierDismissible = true,
  6. dynamic onResult(
    1. Object? result
    )?,
})

Implementation

static Future<Object?> showBottomDrawer(
    BuildContext context,
    Widget view, {
      double? windowHeight,
      Color barrierColor = Colors.black54,
      bool barrierDismissible = true,
      Function(Object? result)? onResult,
    }) async {
  return await Navigator.of(context)
      .push(_BottomPopupWindowRoute(context,
      view, windowHeight, barrierColor, barrierDismissible));
}