Popup widgets are behind the flash widget
benedict1986 opened this issue · comments
Ben commented
Hi @sososdk ,
Thank you for building such great tool. When I am using it (version ^2.0.3+1), I find that the popup widgets are behind the flash widget.
For example, I try to add a dropdown button in a context.showFlashDialog<T>
, but the dropdown list is behind the dialog. I also use a date time picker in a bottom sheet, but the popup date time picker also behind the bottom sheet.
Here is the example code I am using
await showFlash(
context: context,
builder: (_, controller) {
return Flash(
controller: controller,
behavior: FlashBehavior.fixed,
position: FlashPosition.bottom,
onTap: () => controller.dismiss(),
forwardAnimationCurve: Curves.easeInCirc,
reverseAnimationCurve: Curves.bounceIn,
child: SomeWidgetIncludingTheDateTimePicker(),
);
Can you please take a look and see if there is anything I missed.
Thank you