AutoTrackPageConfig<T extends Widget> constructor

AutoTrackPageConfig<T extends Widget>({
  1. String? pageID,
  2. String? pagePath,
  3. bool ignore = false,
  4. String? pageTitle,
  5. PageWidgetFunc? isPageWidget,
})

Implementation

AutoTrackPageConfig({
  this.pageID,
  this.pagePath,
  this.ignore = false,
  this.pageTitle,
  this.isPageWidget
}) {
  isPageWidget ??= (pageWidget) => pageWidget is T;
}