DbLensConfig constructor

const DbLensConfig({
  1. int pageSize = defaultPageSize,
  2. bool enablePrefetch = true,
  3. bool enableHistory = true,
  4. Duration historyPollInterval = defaultHistoryPollInterval,
  5. DbLensPresentationMode presentationMode = DbLensPresentationMode.bottomSheet,
  6. bool fullscreenDialog = true,
})

Implementation

const DbLensConfig({
  this.pageSize = defaultPageSize,
  this.enablePrefetch = true,
  this.enableHistory = true,
  this.historyPollInterval = defaultHistoryPollInterval,
  this.presentationMode = DbLensPresentationMode.bottomSheet,
  this.fullscreenDialog = true,
}) : assert(
        pageSize >= 1 && pageSize <= maxPageSize,
        'pageSize must be between 1 and $maxPageSize',
      );