seedkit_core_to library
Classes
- AndroidBuildVersion
-
Version values of the current Android operating system build derived from
android.os.Build.VERSION. - AndroidDeviceInfo
-
Information derived from
android.os.Build. - BaseCacheManager
- Interface of the CacheManager. In general CacheManager can be used directly.
- BaseDeviceInfo
- The base class for platform's device info.
- BrowserConfiguration
- Additional configuration options for LaunchMode.inAppBrowserView
- CacheInfoRepository
- Base class for cache info repositories
- CacheLogger
- CacheLogger which is used by the cache manager to log useful information
- CacheManager
- Flutter Cache Manager Copyright (c) 2019 Rene Floor Released under MIT License. Basic cache manager implementation, which should be used as a single instance.
- CacheObject
- Flutter Cache Manager Copyright (c) 2019 Rene Floor Released under MIT License. Cache information of one file
- CacheObjectProvider
- Config
- DefaultCacheManager
- The DefaultCacheManager that can be easily used directly. The code of this implementation can be used as inspiration for more complex cache managers.
- DeviceInfoPlugin
- Provides device and operating system information.
- DeviceInfoPlusLinuxPlugin
-
See
DeviceInfoPlatform - DeviceInfoPlusWindowsPlugin
-
The Windows implementation of
DeviceInfoPlatform. - DownloadProgress
- Progress of the file that is being downloaded from the originalUrl.
- FileFetcherResponse
- FileInfo
- FileInfo contains the fetch File next to some info on the validity and the origin of the file.
- FileResponse
- FileService
- Flutter Cache Manager Copyright (c) 2019 Rene Floor Released under MIT License. Defines the interface for a file service. Most common file service will be an HttpFileService, however one can also make something more specialized. For example you could fetch files from other apps or from local storage.
- FileServiceResponse
- Defines the interface for a get result of a FileService.
- FileSystem
- HttpFileFetcherResponse
- Deprecated
- HttpFileService
-
HttpFileService is the most common file service and the default for
WebHelper. One can easily adapt it to use dio or any other http client. - HttpGetResponse
- Basic implementation of a FileServiceResponse for http requests.
- IOFileSystem
- IosDeviceInfo
-
Information derived from
UIDevice. - IosUtsname
-
Information derived from
utsname. See http://pubs.opengroup.org/onlinepubs/7908799/xsh/sysutsname.h.html for details. - JsonCacheInfoRepository
- LinuxDeviceInfo
- Device information for a Linux system.
- MacOsDeviceInfo
- Object encapsulating MACOS device information.
- MemoryCacheSystem
- NonStoringObjectProvider
- WebBrowserInfo
-
Information derived from
navigator. - WebViewConfiguration
- Additional configuration options for LaunchMode.inAppWebView.
- WindowsDeviceInfo
- Object encapsulating WINDOWS device information.
Enums
- BrowserName
- List of supported browsers
- CacheManagerLogLevel
- Log levels of the cache manager. Debug shows failed downloads and verbose also shows successful downloads and cache retrievals.
- FileSource
- Flutter Cache Manager Copyright (c) 2019 Rene Floor Released under MIT License. Enum for whether the file is coming from the cache or is just downloaded.
- LaunchMode
- The desired mode to launch a URL.
- StorageDirectory
-
Corresponds to constants defined in Androids
android.os.Environmentclass.
Mixins
Extensions
Constants
-
supportedFileNames
→ const List<
String>
Properties
- cacheLogger ↔ CacheLogger
-
Instance of the cache manager. Can be set to a custom one if preferred.
getter/setter pair
- disablePathProviderPlatformOverride ← bool
-
no getter
Functions
-
canLaunch(
String urlString) → Future< bool> - Checks whether the specified URL can be handled by some app installed on the device.
-
canLaunchUrl(
Uri url) → Future< bool> - Checks whether the specified URL can be handled by some app installed on the device.
-
closeInAppWebView(
) → Future< void> - Closes the current in-app web view, if one was previously opened by launchUrl.
-
closeWebView(
) → Future< void> - Closes the current WebView, if one was previously opened via a call to launch.
-
getApplicationCacheDirectory(
) → Future< Directory> - Path to a directory where the application may place application-specific cache files.
-
getApplicationDocumentsDirectory(
) → Future< Directory> - Path to a directory where the application may place data that is user-generated, or that cannot otherwise be recreated by your application.
-
getApplicationSupportDirectory(
) → Future< Directory> - Path to a directory where the application may place application support files.
-
getDownloadsDirectory(
) → Future< Directory?> - Path to the directory where downloaded files can be stored.
-
getExternalCacheDirectories(
) → Future< List< Directory> ?> - Paths to directories where application specific cache data can be stored externally.
-
getExternalStorageDirectories(
{StorageDirectory? type}) → Future< List< Directory> ?> - Paths to directories where application specific data can be stored externally.
-
getExternalStorageDirectory(
) → Future< Directory?> - Path to a directory where the application may access top level storage.
-
getLibraryDirectory(
) → Future< Directory> - Path to the directory where application can store files that are persistent, backed up, and not visible to the user, such as sqlite.db.
-
getTemporaryDirectory(
) → Future< Directory> - Path to the temporary directory on the device that is not backed up and is suitable for storing caches of downloaded files.
-
launch(
String urlString, {bool? forceSafariVC, bool forceWebView = false, bool enableJavaScript = false, bool enableDomStorage = false, bool universalLinksOnly = false, Map< String, String> headers = const <String, String>{}, Brightness? statusBarBrightness, String? webOnlyWindowName}) → Future<bool> - Parses the specified URL string and delegates handling of it to the underlying platform.
-
launchUrl(
Uri url, {LaunchMode mode = LaunchMode.platformDefault, WebViewConfiguration webViewConfiguration = const WebViewConfiguration(), BrowserConfiguration browserConfiguration = const BrowserConfiguration(), String? webOnlyWindowName}) → Future< bool> -
Passes
urlto the underlying platform for handling. -
supportsCloseForLaunchMode(
LaunchMode mode) → Future< bool> -
Returns true if closeInAppWebView is supported for
modein the current platform implementation. -
supportsLaunchMode(
LaunchMode mode) → Future< bool> -
Returns true if
modeis supported by the current platform implementation.
Typedefs
-
FileFetcher
= Future<
FileFetcherResponse> Function(String url, {Map<String, String> ? headers}) - Flutter Cache Manager Copyright (c) 2019 Rene Floor Released under MIT License. Deprecated FileFetcher function
Exceptions / Errors
- HttpExceptionWithStatus
- MissingPlatformDirectoryException
- An exception thrown when a directory that should always be available on the current platform cannot be obtained.