PathProviderWindows class
A stub implementation to satisfy compilation of multi-platform packages that depend on path_provider_windows. This should never actually be created.
Notably, because path_provider needs to manually register path_provider_windows, anything with a transitive dependency on path_provider will also depend on path_provider_windows, not just at the pubspec level but the code level.
- Inheritance
-
- Object
- PlatformInterface
- PathProviderPlatform
- PathProviderWindows
Constructors
- PathProviderWindows()
- Errors on attempted instantiation of the stub. It exists only to satisfy compile-time dependencies, and should never actually be created.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- versionInfoQuerier ↔ VersionInfoQuerier
-
Stub; see comment on VersionInfoQuerier.
getter/setter pair
Methods
-
getApplicationCachePath(
) → Future< String?> -
Path to a directory where application specific cache data can be stored.
inherited
-
getApplicationDocumentsPath(
) → Future< String?> -
Path to a directory where the application may place data that is
user-generated, or that cannot otherwise be recreated by your application.
inherited
-
getApplicationSupportPath(
) → Future< String?> -
Path to a directory where the application may place application support
files.
inherited
-
getDownloadsPath(
) → Future< String?> -
Path to the directory where downloaded files can be stored.
This is typically only relevant on desktop operating systems.
inherited
-
getExternalCachePaths(
) → Future< List< String> ?> -
Paths to directories where application specific external cache data can be
stored. These paths typically reside on external storage like separate
partitions or SD cards. Phones may have multiple storage directories
available.
inherited
-
getExternalStoragePath(
) → Future< String?> -
Path to a directory where the application may access top level storage.
The current operating system should be determined before issuing this
function call, as this functionality is only available on Android.
inherited
-
getExternalStoragePaths(
{StorageDirectory? type}) → Future< List< String> ?> -
Paths to directories where application specific data can be stored.
These paths typically reside on external storage like separate partitions
or SD cards. Phones may have multiple storage directories available.
inherited
-
getLibraryPath(
) → Future< String?> -
Path to the directory where application can store files that are persistent,
backed up, and not visible to the user, such as sqlite.db.
inherited
-
getPath(
String folderID) → Future< String> - Match PathProviderWindows so that the analyzer won't report invalid overrides if tests provide fake PathProviderWindows implementations.
-
getTemporaryPath(
) → Future< String?> -
Path to the temporary directory on the device that is not backed up and is
suitable for storing caches of downloaded files.
inherited
-
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
Static Methods
-
registerWith(
) → void - Registers the Windows implementation.