CopyContextMenuButton constructor

CopyContextMenuButton({
  1. void onPressed()?,
})

Implementation

CopyContextMenuButton({super.onPressed})
  : super(
      key: const Key('CopyButton'),
      label: PlatformUtils.isMobile ? 'btn_copy'.l10n : 'btn_copy_text'.l10n,
      trailing: const SvgIcon(SvgIcons.copy19),
      inverted: const SvgIcon(SvgIcons.copy19White),
    );