Disable in-app notifications
The following method allows you to disable the in app notifications.Notification container offset
You can adjust the position of the in-app notification container by setting an offset in pixels:- x – Horizontal offset in pixels (positive values move the container to the right).
- y – Vertical offset in pixels (positive values move the container down).
Inline banners
Inline banners (the banner style you pick in the Gleap dashboard) are shown at the top of the screen and cover the status bar. Floating banners float above the app as a card. By default both overlay your app. To push your app down below inline banners instead, like inline banners on the web, wrap it inGleapBannerArea (Android and iOS, SDK 19.3.0 or later):
MediaQuery shrinks by the same amount, because the banner already covers the status bar, so AppBar and SafeArea don’t leave a gap. Floating banners still float.
For custom layouts, Gleap.bannerHeight is a ValueListenable<double> with the height in logical pixels from the top edge (0 while no inline banner is shown):