applyMediaQueryViewInsets property

bool applyMediaQueryViewInsets
final

Whether to apply the viewInsets to the margin of the Toastification Overlay. Basically, this is used to move the Toastification Overlay up or down when the keyboard is shown. So Toast overlay will not be hidden by the keyboard when the keyboard is shown.

If set to true, MediaQuery.of(context).viewInsets will be added to the result of the marginBuilder method.

Implementation

final bool applyMediaQueryViewInsets;