name property

String? name
final

User-facing filename from the picker's display name (XPickedFile.name), when known. Preferred over the source path's basename for FileInfo.name: on Android the SAF picker stream-copies the content URI to a <appCache>/ux_pick/{ts}_{name} temp, so the path basename is mangled with a timestamp. Null for camera/gallery/paste (no display name).

Implementation

final String? name;