fix null error when in full screen window

This commit is contained in:
Yasien Mac Mini 2026-05-25 11:18:32 +02:00
parent 3b031b854b
commit 3a7abe6102
5 changed files with 89 additions and 52 deletions

View file

@ -97,6 +97,25 @@ class _ExampleMihPackageState extends State<ExampleMihPackage> {
fontWeight: FontWeight.bold,
),
),
Icon(MihIcons.link),
MihButton(
width: 300,
onPressed: () {
showDialog(
context: context,
builder: (context) => MihPackageWindow(
fullscreen: true,
windowTitle: "Full Screen Test",
onWindowTapClose: () {
Navigator.pop(context);
},
windowBody: Placeholder(),
),
);
},
buttonColor: MihColors.green(),
child: Text("Press"),
),
],
),
),