SwishButton.secondaryElevatedButton constructor

const SwishButton.secondaryElevatedButton({
  1. Key? key,
  2. required VoidCallback? onPressed,
  3. ButtonStyle? style,
})

Create an elevated button with the secondary logo of Swish.

Swish Secondary Logo

Implementation

const SwishButton.secondaryElevatedButton({
  Key? key,
  required this.onPressed,
  this.style,
})  : buttonType = _ButtonType.elevatedButton,
      logo = _LogoType.secondary,
      super(key: key);