fileNameOverrides property

List<String>? fileNameOverrides
final

Override the names of shared files.

When set, the list length must match the number of files to share. This is useful when sharing files that were created by XFile.fromData, because name property will be ignored by cross_file on all platforms except on web.

  • Supported platforms: Same as files Ignored on platforms that don't support files.

Implementation

final List<String>? fileNameOverrides;