openBottomNavBar function
void
openBottomNavBar(
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,
),
);
}