Skip to main content

Posts

Showing posts from June, 2023

Payment Gateway :- RazorPay PaymentGateway integration in Getx flutter

step 1. Create Account on Razorpay payment Get way . Step 2. create new project on Getx Flutter Step 3 Add razorpay dependency from this link https://pub.dev/packages/razorpay_flutter. step 4 create View Code :- import 'package:add_payment/app/constants/app_colors.dart'; import 'package:add_payment/app/modules/widgets/custom_text_fields.dart'; import 'package:flutter/material.dart'; import 'package:get/get.dart'; import '../controllers/dashboard_controller.dart'; class DashboardView extends GetView { const DashboardView({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text( 'RazorPay Payment Gateway', style: Get.textTheme.displayLarge!.copyWith( color: AppColors.appBlueColor, fontWeight: FontWeight.w600, ), ), centerTitle: true, ),...