style property
A custom style for FileSaver which containing Color, TextStyle, FileSaverIcon and FileSaverText.
FileSaverStyle style = FileSaverStyle(
primaryColor: Colors.orange,
text: FileSaverText(
popupNo: 'Nay',
popupYes: 'Sí',
),
icons: [
FileSaverIcon.file(
icon: (path) => Image.file(File(path)),
fileType: 'jpg',
)
]
);
Implementation
final FileSaverStyle? style;