fix null error when in full screen window
This commit is contained in:
parent
3b031b854b
commit
3a7abe6102
5 changed files with 89 additions and 52 deletions
|
|
@ -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"),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ packages:
|
|||
path: ".."
|
||||
relative: true
|
||||
source: path
|
||||
version: "0.0.5"
|
||||
version: "0.0.6"
|
||||
path:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue