widget/payment_window_webview library

Classes

TosspaymentsWebview
TosspaymentsWebview is a stateless widget that wraps WebView to enable online payments using the Toss Payments API. It contains various callbacks for handling JavaScript execution and payment success or failure.

Enums

ActionType

Functions

tossPaymentsWebview(dynamic url) → dynamic
Handles specific URL schemes (like 'intent') and launches the corresponding app if necessary. url is the URL to be handled.