mobile library

Mobile adapters and bottom sheet patterns for cmdk.

Classes

CommandBottomSheet
A container widget designed for mobile bottom sheet presentations of Command.

Functions

showCommandModalBottomSheet<T>({required BuildContext context, required WidgetBuilder builder, Color? backgroundColor, Color? barrierColor, double? elevation, ShapeBorder? shape, Clip clipBehavior = Clip.antiAlias, BoxConstraints? constraints, bool isScrollControlled = true, bool useRootNavigator = false, bool isDismissible = true, bool enableDrag = true, bool showDragHandle = true, bool useSafeArea = true, RouteSettings? routeSettings, AnimationController? transitionAnimationController}) → Future<T?>
Shows a Command menu inside a mobile modal bottom sheet with automatic keyboard insets handling, drag-to-dismiss support, and customizable presentation.