SwishButton.primaryElevatedButton constructor

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

Create an elevated button with the primary logo of Swish.

Swish Primary Logo

Implementation

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