useLiveMediaOnly property
final
The useLiveMediaOnly. flag use to disable photo library/gallery or file browser option.
If true
then we disable all photos & videos from file picker a the time of validation
If false
, all files are allowed. which are available in allowedExtensions.
Defaults to false.
Implementation
final bool useLiveMediaOnly;