OverlayOptions<T> constructor

OverlayOptions<T>({
  1. bool closeOnItemSelected = true,
  2. bool canCreateItem = false,
  3. Offset? offset,
  4. CreateOptions<T>? createOptions,
})

Implementation

OverlayOptions({
  this.closeOnItemSelected = true,
  this.canCreateItem = false,
  this.offset,
  this.createOptions,
}) : assert(!canCreateItem || (canCreateItem && createOptions != null));