NavigationPreloadState constructor

NavigationPreloadState({
  1. bool? enabled,
  2. String? headerValue,
})

Implementation

factory NavigationPreloadState({bool? enabled, String? headerValue}) =>
    NavigationPreloadState._(
        enabled: enabled ?? false, headerValue: headerValue ?? undefined);