overlayWholeScreen property
This should be false if you want to have full control of the size of the overlay. This is generally used in conjunction with overlayHeight and overlayWidth to define the desired size of the overlay.
Implementation
final bool overlayWholeScreen;