defaultExtension property

String? defaultExtension
getter/setter pair

The default extension to be added to file names.

This string should not include a leading period. For example, jpg is correct, while .jpg is not. If this field is set, the dialog will update the default extension automatically when the user chooses a new file type.

Implementation

String? defaultExtension;