flutter_file_view library
Classes
- AndroidViewConfig
- The relevant parameters of TbsReaderView.
- FileView
- @Describe: The view of file.
- FileViewController
- The controller of FileView.
- FileViewLocalizations
- localizations
- FileViewLocalizationsBase
- Localizations
- FileViewLocalizationsDelegate
- @Describe: LocalizationsDelegate
- FileViewValue
- The viewStatus, filePath, fileType, downloadProgress, X5Status of a FileViewController.
- FlutterFileView
- @Describe: Inside the plugin, this is the class that contains all the tools.
- NetworkConfig
-
HTTP headers used for the request to the
dataSource
. Only for FileViewController.network. Always empty for other document types.
Enums
- DataSourceType
- The way in which the document was originally loaded.
- ViewStatus
- @Describe: The type of view
- X5Status
- @Describe: The state of X5 kernel.
Extensions
- X5StatusExtension on X5Status
- Extension class for X5Status.
Constants
- cacheKey → const String
- Directory name to use for file caching.
- channelName → const String
- The name of the channel used by the plugin.
- packageName → const String
- The package name of the plugin.
- viewName → const String
- The name of the view used by the plugin.
Properties
Typedefs
- OnCustomViewStatusBuilder = Widget? Function(BuildContext context, ViewStatus status)
-
According to
status
, display different layouts. - OnCustomX5StatusBuilder = Widget? Function(BuildContext context, X5Status status)
-
According to
status
, display different layouts.
Exceptions / Errors
- MissingPlatformDirectoryException
- An exception thrown when a directory that should always be available on the current platform cannot be obtained.