DownloadAsContextMenuButton constructor

DownloadAsContextMenuButton({
  1. void onPressed()?,
  2. bool single = true,
})

Implementation

DownloadAsContextMenuButton({super.onPressed, bool single = true})
  : super(
      key: const Key('DownloadAsButton'),
      label: single ? 'btn_download_as'.l10n : 'btn_download_all_as'.l10n,
      trailing: const SvgIcon(SvgIcons.download19),
      inverted: const SvgIcon(SvgIcons.download19White),
    );