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