show abstract method
OverlayEntryControl
show(
- Widget builder(
- BuildContext context
- required String id,
- required int zindex,
- Color backgroundColor = Colors.transparent,
- OverlayLayoutTypeEnum type = OverlayLayoutTypeEnum.custom,
- bool dismissible = false,
If the id
exists, just keep the current entry respectively.
The entry's inserted just below the entry whose zindex greater than the zindex
.
Return an OverlayEntryControl instance for controlling the entry if need.
Implementation
OverlayEntryControl show(
Widget Function(BuildContext context) builder, {
required String id,
required int zindex,
Color backgroundColor = Colors.transparent,
OverlayLayoutTypeEnum type = OverlayLayoutTypeEnum.custom,
bool dismissible = false,
});