PaymentMethodSelector constructor

const PaymentMethodSelector({
  1. Key? key,
  2. required PaymentMethodType? selectedMethod,
  3. required ValueChanged<PaymentMethodType> onChanged,
  4. bool showPix = true,
  5. bool showCard = false,
})

Implementation

const PaymentMethodSelector({
  super.key,
  required this.selectedMethod,
  required this.onChanged,
  this.showPix = true,
  this.showCard = false,
});