DocManPicker class DocMan
Provides a simple way to pick files, documents and directories.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
directory(
{String? initDir}) → Future< DocumentFile?> - Pick a directory.
-
documents(
{String? initDir, List< String> mimeTypes = const [], List<String> extensions = const [], bool localOnly = false, bool grantPermissions = false, int limit = 1, bool limitResultEmpty = false, bool limitResultCancel = false, bool limitResultRestart = false, String? limitRestartToastText}) → Future<List< DocumentFile> > - Pick document(s).
-
files(
{String? initDir, List< String> mimeTypes = const [], List<String> extensions = const [], bool localOnly = false, int limit = 1, bool limitResultEmpty = false, bool limitResultCancel = false, bool limitResultRestart = false, String? limitRestartToastText}) → Future<List< File> > - Pick file(s).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
visualMedia(
{String? initDir, List< String> mimeTypes = const [], List<String> extensions = const [], int imageQuality = 100, bool useVisualMediaPicker = true, bool localOnly = false, int limit = 1, bool limitResultEmpty = false, bool limitResultCancel = false, bool limitResultRestart = false, String? limitRestartToastText}) → Future<List< File> > - Pick visual media files like images, video files.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited