openAppBar function
Implementation
void openAppBar(
BuildContext context,
AppModel app,
AppBarModel model, {
double? fraction,
}) {
openFlexibleDialog(
app,
context,
'${app.documentID}/_appbar',
includeHeading: false,
widthFraction: fraction,
child: AppBarCreateWidget.getIt(
context,
app,
model,
fullScreenWidth(context) * ((fraction == null) ? 1 : fraction),
fullScreenHeight(context) - 100,
),
);
}