CredioConfig class

Constructors

CredioConfig.new(String apiKey, String? terminalId, String? webhookURL, GlobalKey<NavigatorState>? locator, {Widget? initializerButton, Map<String, dynamic>? metaData, ButtonConfiguration? buttonConfiguration, double? amount, InputDecoration? amountInputDecoration, List<SelectionData>? accountTypes, void customSelectionSheet(BuildContext, List<SelectionData>, dynamic (SelectionData))?, Widget customPinEntry(BuildContext, dynamic (String))?, Future<T?> customLoader<T>({VoidCallback? action, required BuildContext context, required String errorMessage, required Future<T> future, required dynamic onError(String), required String prompt, String? successMessage})?})

Properties

accountTypes List<SelectionData>?
getter/setter pair
amount double?
getter/setter pair
amountInputDecoration InputDecoration?
getter/setter pair
apiKey String
getter/setter pair
buttonConfiguration ButtonConfiguration?
getter/setter pair
customLoader Future<T?> Function<T>({VoidCallback? action, required BuildContext context, required String errorMessage, required Future<T> future, required dynamic onError(String), required String prompt, String? successMessage})?
getter/setter pair
customPinEntry Widget Function(BuildContext, dynamic (String))?
getter/setter pair
customSelectionSheet ↔ void Function(BuildContext, List<SelectionData>, dynamic (SelectionData))?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
initializerButton Widget?
getter/setter pair
locator GlobalKey<NavigatorState>?
getter/setter pair
metaData Map<String, dynamic>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
terminalId String?
getter/setter pair
webhookURL String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited