PaymentMethodSelector constructor
PaymentMethodSelector({
- required OnPaymentMethodSelected onChanged,
- PaymentMethodStore? paymentMethodStore,
- String? initialPaymentMethodId,
- SelectorType selectorType = SelectorType.radioButton,
- Key? key,
- bool selectFirstByDefault = false,
Implementation
PaymentMethodSelector({
required this.onChanged,
PaymentMethodStore? paymentMethodStore,
this.initialPaymentMethodId,
this.selectorType = SelectorType.radioButton,
Key? key,
this.selectFirstByDefault = false,
}) : _paymentMethodStore = paymentMethodStore ?? PaymentMethodStore.instance,
super(key: key);