RhFiles class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
dashboard ({Widget ? removeIcon , dynamic onPick (List <File ? > )?, EdgeInsets ? margin , Color ? backgroundColor , PickedItemDecoration ? pickedItemDecoration , PickedItemDecoration ? singleItemDecoration , Widget ? selectedFiles , Widget ? addMore , Widget ? showSelected })
→ Widget
Returns a widget that displays a dashboard for picking multiple files.
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pick ({required Source source , BuildContext ? context , String ? fileUrl , bool allowMultiple = true , FileType fileType = FileType.any , List <String > ? allowedExtensions , CameraDevice? preferredCameraDevice })
→ Future <List <File ? > >
Opens the device camera, gallery, file explorer or a file based on the provided source
,
and allows the user to pick one or more files according to the specified parameters.
picker ({dynamic onPick (List <File ? > )?, required Source source , Widget ? removeIcon , Widget ? uploadIcon , Widget ? title , Widget ? subtitle , FileType fileType = FileType.any , List <String > ? allowedExtensions , PickedItemDecoration ? pickedItemDecoration })
→ Widget
A widget that displays a file picker dialog for selecting a single file.
toString ()
→ String
A string representation of this object.
inherited