SailorOptions constructor

const SailorOptions(
  1. {bool handleNameNotFoundUI = false,
  2. bool isLoggingEnabled = false,
  3. List<SailorTransition> defaultTransitions,
  4. Duration defaultTransitionDuration,
  5. Curve defaultTransitionCurve,
  6. CustomSailorTransition customTransition,
  7. GlobalKey<NavigatorState> navigatorKey}
)

Implementation

const SailorOptions({
  this.handleNameNotFoundUI = false,
  this.isLoggingEnabled = false,
  this.defaultTransitions,
  this.defaultTransitionDuration,
  this.defaultTransitionCurve,
  this.customTransition,
  this.navigatorKey,
})  : assert(handleNameNotFoundUI != null),
      assert(isLoggingEnabled != null);