adaptiveConversion method

OverlayConfiguration<T> adaptiveConversion(
  1. BuildContext context
)

Returns an equivalent configuration adapted for the current platform, e.g. a PopoverConfiguration becomes a DrawerConfiguration on mobile.

Returns this by default (no adaptation). Called by showOverlay when adaptive: true (the default).

Implementation

OverlayConfiguration<T> adaptiveConversion(BuildContext context) => this;