Skip to content
⌘K
InboxAsk a human

Volume Info Icon

Updated by Lukas Dumskis

The VolumeInfoWidget helps explain to the end user what the Volume payment method is.

It is ideal for placement in your checkout flow, especially if your application offers multiple payment options and you want to provide users with more context about Volume.

volume_info.webp

Implementing Volume Across Platforms

The Volume SDK allows you to integrate bank payments directly into your applications across multiple platforms. This guide provides implementation examples for Flutter, iOS, Android, and React Native.


Flutter Implementation

Start by initializing the VolumeProvider class the same way as with the regular Volume Button.

Next, add a widget to your application where you’d like to render Volume as a payment option:

child: ClipRRect( borderRadius: BorderRadius.circular(10), child: Container( color: const Color(0xFFDCDDE8), child: Padding( padding: const EdgeInsets.symmetric( horizontal: 20.0, vertical: 5.0, ), child: Row( mainAxisSize: MainAxisSize.max, children: [ VolumeSelectorWidget( country: country, currency: currency, size: 35.0, ), const SizedBox(width: 10), const Text( "Pay With Bank App", style: TextStyle( fontSize: 18, fontFamily: 'Noto Sans', fontWeight: FontWeight.w500, ), ), const SizedBox(width: 10), const VolumeInfoWidget(size: 20), const Expanded(child: SizedBox()), Radio<String>( value: 'option1', groupValue: 'option1', onChanged: (String? value) {}, ), ], ), ), ), )

VolumeInfoWidget Properties

Key

Type

Example

Description

size

double

35.0

Defines the size of the widget.

color

Color

Color(0xFF000000)

Color of the widget (default: black).


iOS Implementation

On iOS, initialize the VolumeProvider class the same way as with the Volume Button.

Add the widget to display the Volume info icon:

ZStack { Rectangle() .foregroundColor(Color(hex: "#DCDDE8")) .cornerRadius(5) .frame(maxWidth: .infinity, maxHeight: 54) HStack(alignment: .center) { VolumeSelector( country: country, currency: currency, size: 35.0 ).padding() Text("Pay With Bank App") .fontWeight(.semibold) .font(.custom("NotoSans-Regular", size: 18)) .frame(maxWidth: .infinity) VolumeInfo(size: 20.0) Image(systemName: "largecircle.fill.circle") .padding() } .frame(maxWidth: .infinity, idealHeight: 54, alignment: .leading) } .padding(.horizontal, 12.0)

VolumeInfo Properties

Key

Type

Example

Description

size

Double

35.0

Defines the size of the widget.

color

Color

Color(0xFF000000)

Color of the widget (default: black).


Android Implementation

On Android, initialize the VolumeProvider class just like with the Volume Button.

Add the VolumeInfoView to your layout:

<com.volume.sdk.payment.VolumeInfoView android:id="@+id/volumeInfoView" android:layout_width="match_parent" android:layout_height="wrap_content" app:volume_info_color="@color/black" />

VolumeInfoView Properties

Key

Type

Example

Description

color

Color

Color(0xFF000000)

Color of the widget (default: black).


React Native Implementation

In React Native, the Volume Info component can be imported and used directly:

import { VolumeInfo } from "@getvolume/react-native"; function MyComponent() { return ( <View> <VolumeInfo /> </View> ); }

✅ With these implementations, you can render Volume as a payment option consistently across Flutter, iOS, Android, and React Native applications.