FileSaverText constructor
const
FileSaverText({
- String titlePickFile = 'Pick File',
- String titleSaveFile = 'Save File',
- String titlePickFiles = 'Pick Files',
- String buttonSave = 'Save',
- String buttonDone = 'Done',
- String buttonClose = 'Close',
- String buttonFileTypes = 'File Types',
- String infoEmptyFolder = 'Folder is empty',
- String infoSelected = 'File has been selected',
- String infoMultipleSelected = 'Files have been selected',
- String messageSucces = 'File has been saved',
- String messageDenied = 'Storage Access Denied',
- String popupNo = 'NO',
- String popupYes = 'YES',
- String popupTitle = 'Confirmation',
- String popupInformation = 'File already exists.\nDo you want to replace it ?',
- List<
String> months = const ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
Customizing displayed text in entire FileSaver.
Implementation
const FileSaverText({
this.titlePickFile = 'Pick File',
this.titleSaveFile = 'Save File',
this.titlePickFiles = 'Pick Files',
this.buttonSave = 'Save',
this.buttonDone = 'Done',
this.buttonClose = 'Close',
this.buttonFileTypes = 'File Types',
this.infoEmptyFolder = 'Folder is empty',
this.infoSelected = 'File has been selected',
this.infoMultipleSelected = 'Files have been selected',
this.messageSucces = 'File has been saved',
this.messageDenied = 'Storage Access Denied',
this.popupNo = 'NO',
this.popupYes = 'YES',
this.popupTitle = 'Confirmation',
this.popupInformation = 'File already exists.\nDo you want to replace it ?',
this.months = const [
'January',
'February',
'March',
'April',
'May',
'June',
'July',
'August',
'September',
'October',
'November',
'December'
],
}) : assert(months.length == 12);