Last updated:
0 purchases
midpay
Midtrans Payment Gateway for Flutter #
Platform Support #
Android
iOS
MacOS
Web
Linux
Windows
✔️
✔️
️X
️X
️ X
️X
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>
copied to clipboard
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>
copied to clipboard
And add the style to you Android Manifest in your application tag :
tools:replace="android:label"
android:theme="@style/AppTheme"
copied to clipboard
IOS #
No specific setup required
BASE_URL #
goto midtrans official documentation or merchant server github
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.