import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: Scaffold(
body: Container(
child: Column(
children: [
SizedBox(
height: 50,
),
Image.network(
'https://images.unsplash.com/photo-1611186871348-b1ce696e52c9?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxzZWFyY2h8MXx8YXBwbGUlMjBsYXB0b3B8ZW58MHx8MHx8&w=1000&q=80',
height: 250,
width: 350,
),
SizedBox(
height: 20,
),
Text('macbook pro'),
SizedBox(
height: 20,
),
Text('description'),
SizedBox(
height: 20,
),
Text('rs200000'),
SizedBox(
height: 20,
),
ElevatedButton(onPressed: () {}, child: Text('buy now'))
],
),
),
));
}
}
Let's suppose this is the project then when we click on buynow button then razorpay popup should be open in website
**Could you guys help me in this because I think razorpay doesn't provide any plugin for Flutter web **