addWindowTo static method
void
addWindowTo(})
Implementation
static void addWindowTo(
BuildContext context, {
required String title,
required Widget body,
Alignment? parentWidgetAlignment,
double? minWidth,
double? minHeight,
double? width,
double? height,
double? placementPadding,
double? x,
double? y,
Color? headerColor,
Color? bodyColor,
}) {
Provider.of<MdiController>(context, listen: false).addWindow(
title: title,
body: body,
parentWidgetAlignment: parentWidgetAlignment,
minWidth: minWidth,
minHeight: minHeight,
width: width,
height: height,
placementPadding: placementPadding,
x: x,
y: y,
);
}