config property

  1. @override
OverlayConfiguration? get config
override

The configuration currently applied to this overlay, if this mechanism tracks one.

Implementation

@override
OverlayConfiguration? get config => stateKey?.currentState?.config;
  1. @override
set config (OverlayConfiguration? value)
override

Updates alignment, margin, follow, or other settings on the open overlay without closing and reopening it. Drawer, sheet, and dialog don't support live updates and can leave this unimplemented; OverlayController closes and reopens the overlay for those instead.

Implementation

@override
set config(OverlayConfiguration? value) {
  stateKey?.currentState?.config = value;
}