openBottomNavBar function

void openBottomNavBar(
  1. BuildContext context,
  2. AppModel app,
  3. HomeMenuModel model, {
  4. double? fraction,
})

Implementation

void openBottomNavBar(
  BuildContext context,
  AppModel app,
  HomeMenuModel model, {
  double? fraction,
}) {
  openFlexibleDialog(
    app,
    context,
    '${app.documentID}/_bottomnavbar',
    includeHeading: false,
    widthFraction: fraction,
    child: BottomNavBarCreateWidget.getIt(
      context,
      app,
      model,
      fullScreenWidth(context) * ((fraction == null) ? 1 : fraction),
      fullScreenHeight(context) - 100,
    ),
  );
}