KKiaPay class

Inheritance

Constructors

KKiaPay({Key? key, required int amount, required String reason, String? phone, String? name, String? email, String? data, String? partnerId, required dynamic callback(Map<String, dynamic>, BuildContext), required String apikey, required bool? sandbox, String? theme, List<String>? countries, List<String>? paymentMethods})
const

Properties

amount int
@Params: Payment amount Ex : 1000
final
apikey String
@Params : Your public api key according to sandbox value Ex : XXXX_public_api_key_XXX
final
callback → dynamic Function(Map<String, dynamic>, BuildContext)
@Params : Payment callback
final
countries List<String>?
@Params : Widget authorized countries Ex : "CI"
final
data String?
@Params : Payment data send by webhook Ex : 'Big data'
final
email String?
@Params email : Payment owner address mail Ex : "email@mail.com"
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
name String?
@Params : Payment owner Ex : "John Doe"
final
partnerId String?
@Params partnerId : Your application payment reference Ex : 'AxXxXXxId'
final
paymentMethods List<String>?
@Params : Widget authorized payment paymentMethods Ex : "momo","card"
final
phone String?
@Params : Payment phoneNumber Ex : "22961000000"
final
reason String
@Params : Payment reason Ex : "transaction reason"
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sandbox bool?
@Params : Payment environment according to apikey value Ex : true
final
theme String?
@Params : Widget UI theme Ex : "#222F5A"
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<KKiaPay>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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