midpay 1.0.9 midpay: ^1.0.9 copied to clipboard
An unofficial midtrans payment plugin for flutter, Midtrans is one of the biggest payment gateway provider in indonesia
Midtrans Payment Gateway for Flutter #
Flutter Midtrans Payment Plugin
Android setup #
Add style to your android/app/src/main/res/values/styles.xml :
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
And full styles.xml will be like below :
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
<!-- Show a splash screen on the activity. Automatically removed when
Flutter draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
</style>
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
</resources>
And add the style to you Android Manifest in your application tag :
android:theme="@style/AppTheme"
IOS #
No specific setup required