FileSelectorParams class

Parameters received when the WebView should show a file selector.

Annotations

Constructors

FileSelectorParams({required bool isCaptureEnabled, required List<String> acceptTypes, String? filenameHint, required FileSelectorMode mode})
Constructs a FileSelectorParams.
const

Properties

acceptTypes List<String>
A list of acceptable MIME types.
final
filenameHint String?
The file name of a default selection if specified, or null.
final
hashCode int
The hash code for this object.
no setterinherited
isCaptureEnabled bool
Preference for a live media captured value (e.g. Camera, Microphone).
final
mode FileSelectorMode
Mode of how to select files for a file selector.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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