newApp function
void
newApp(
- BuildContext context,
- MemberModel member,
- AppModel app, {
- double? fraction,
})
Implementation
void newApp(
BuildContext context,
MemberModel member,
AppModel app, {
double? fraction,
}) {
openFlexibleDialog(
app,
context,
'${app.documentID}/_newapp',
includeHeading: false,
widthFraction: fraction ?? .5,
child: Container(
width: 10,
child: NewAppCreateWidget.getIt(
context,
member,
app,
fullScreenWidth(context) * ((fraction == null) ? .5 : fraction),
fullScreenHeight(context) - 100,
)),
);
}