PhysicalFileProviderOptions class
Options for a PhysicalFileProvider.
Constructors
- PhysicalFileProviderOptions({ExclusionFilters exclusionFilters = ExclusionFilters.sensitive, bool usePollingFileWatcher = false, bool useActivePolling = false, Duration pollingInterval = const Duration(seconds: 4)})
- Creates options for a physical file provider.
Properties
- exclusionFilters → ExclusionFilters
-
Determines which files or directories are excluded from enumeration
and change tracking.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- pollingInterval → Duration
-
The interval at which to poll for file changes when using polling-based
change detection.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- useActivePolling → bool
-
Determines whether change token callbacks will be raised via active
polling.
final
- usePollingFileWatcher → bool
-
Determines whether to use polling for file change detection.
final
Methods
-
copyWith(
{ExclusionFilters? exclusionFilters, bool? usePollingFileWatcher, bool? useActivePolling, Duration? pollingInterval}) → PhysicalFileProviderOptions - Creates a copy of these options with the specified values overridden.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited