PaymobCustomization class

Look & behaviour of the native Paymob checkout screen.

Constructors

PaymobCustomization({String? appName, Color? buttonBackgroundColor, Color? buttonTextColor, bool? showSaveCard, bool? saveCardDefault, bool? showTransactionResult, FailureCallBackVersion? failureCallBackVersion, bool? isKeyboardHandlingEnabled})
const

Properties

Android drawable / mipmap resource name, e.g. "ic_launcher".
final
appName → String?
Name shown at the top of the checkout.
final
buttonBackgroundColor → Color?
Pay button background colour.
final
buttonTextColor → Color?
Pay button text colour.
final
failureCallBackVersion → FailureCallBackVersion?
Failure callback version used by the native SDK.
final
hashCode → int
The hash code for this object.
no setterinherited
iOS logo: a Flutter asset key (e.g. "assets/logo.png") or an asset-catalog image name.
final
isKeyboardHandlingEnabled → bool?
iOS only: let the SDK move the content above the keyboard.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
saveCardDefault → bool?
Tick "save card" by default.
final
showSaveCard → bool?
Show the "save card" checkbox.
final
showTransactionResult → bool?
Show Paymob's own success / failure screen before returning.
final

Methods

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

Operators

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