longswipe library

Classes

LaunchApp
LongswipeController
Controller for interacting with the Longswipe widget
LongswipeControllerOptions
Options for the Longswipe controller
LongswipeOptions
Options for the Longswipe widget
LongswipeResponse
Response from the Longswipe widget
LongswipeWebView
WebView screen for the Longswipe widget
LongswipeWidget
A widget that displays the Longswipe payment widget
Permission
Defines the permissions which can be checked and requested.
PermissionWithService
A special kind of permission, used to access a service.

Enums

Currency
Supported currencies for Longswipe
Environment
PermissionStatus
Defines the state of a Permission.
ResponseType
Types of responses that can be received from the Longswipe widget
ServiceStatus
Defines the different states a service can be in.

Extensions

CurrencyExtension on Currency
Extension on Currency to convert to string
EnvironmentExtension on Environment
Extension on Environment to convert to string
FuturePermissionStatusGetters on Future<PermissionStatus>
Utility getter extensions for the Future<PermissionStatus> type.
FutureServiceStatusGetters on Future<ServiceStatus>
Utility getter extensions for the Future<ServiceStatus> type.
PermissionActions on Permission
Actions that can be executed on a permission.
PermissionCheckShortcuts on Permission
Shortcuts for checking the status of a Permission.
PermissionListActions on List<Permission>
Actions that can be taken on a List of Permissions.
PermissionStatusGetters on PermissionStatus
Utility getter extensions for the PermissionStatus type.
ResTypeExtension on ResponseType
Extension on ResType to convert to and from strings
ServicePermissionActions on PermissionWithService
Actions that apply only to permissions that have an associated service.
ServiceStatusGetters on ServiceStatus
Utility getter extensions for the ServiceStatus type.

Functions

openAppSettings() Future<bool>
Opens the app settings page.