DialogConfig constructor

const DialogConfig({
  1. Type? pageRouteBuilder,
  2. RouteBuilder routeBuilder = RouteBuilder.noTransition,
  3. int defaultBarrierColor = 0x80000000,
  4. bool defaultBarrierDismissible = false,
})

Customize the behaviour of a dialog / simple dialog with a DialogConfig.

Implementation

const DialogConfig({
  this.pageRouteBuilder,
  this.routeBuilder = RouteBuilder.noTransition,
  this.defaultBarrierColor = 0x80000000,
  this.defaultBarrierDismissible = false,
});