OpenModal<T> typedef Null safety

OpenModal<T> = Future<T?> Function(BuildContext context, {required WidgetBuilder builder, bool dismissible, bool displayDragHandle, bool draggable, bool expand, double? height, bool nestModals, PathRouteSettings? settings, bool useRootNavigator, double? width})

Implementation

typedef OpenModal<T> = Future<T?> Function(BuildContext context,
    {required WidgetBuilder builder,
    bool displayDragHandle,
    bool dismissible,
    bool draggable,
    PathRouteSettings? settings,
    double? width,
    double? height,
    bool expand,
    bool useRootNavigator,
    bool nestModals});