SwishButton.secondaryElevatedButton constructor
const
SwishButton.secondaryElevatedButton({
- Key? key,
- required VoidCallback? onPressed,
- ButtonStyle? style,
Create an elevated button with the secondary logo of Swish.
Implementation
const SwishButton.secondaryElevatedButton({
Key? key,
required this.onPressed,
this.style,
}) : buttonType = _ButtonType.elevatedButton,
logo = _LogoType.secondary,
super(key: key);