InlineCheckout class of the Flutter Full SDK.
Core Methods
The Tonder Flutter Full SDK provides these essential methods for initializing, configuring, and rendering the payment interface. Each method serves a specific purpose in the payment integration workflow.Method Details
Each method in the Tonder Flutter Full SDK serves a specific purpose in the payment integration workflow. Below you’ll find detailed information about each method, including their parameters, usage examples, and practical implementation guidance.InlineCheckout Constructor
InlineCheckout Constructor
Creates a new instance of the InlineCheckout class with the necessary configuration for secure payment processing. This constructor establishes the connection with Tonder’s services and configures the payment environment.
Here’s an example of how to initialize the InlineCheckout class:
setPaymentData
setPaymentData
Configures the customer information that will be used during the payment process. This data is used to pre-fill the checkout form and associate the transaction with the customer.
Here’s an example of how to set the customer data:
setCartTotal
setCartTotal
Sets the total amount for the transaction. This value is displayed in the checkout interface and used for payment processing.
Here’s an example of how to set the cart total:
injectCheckout
injectCheckout
Renders the pre-built payment interface within your Flutter widget. This method creates the complete checkout form with card input fields, validation, and styling.
Here’s an example of how to inject the checkout:
Next Steps
Now that you’re familiar with the available methods in the Flutter Full SDK, explore these guides to enhance your implementation:- Learn how to make a payment using the Flutter Full SDK.

