checkoutpage_flutter 0.0.2 checkoutpage_flutter: ^0.0.2 copied to clipboard
Checkout page for flutter
import 'package:flutter/material.dart';
import 'package:checkoutpage_flutter/checkoutpage_flutter.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
final String? strUrl;
const MyApp({Key? key,this.strUrl}) : super(key: key);
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
String _platformVersion = 'Unknown';
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
return MaterialApp(debugShowCheckedModeBanner: false,
home: Scaffold(
appBar: AppBar(
title: Text('Plugin app'),
),
body:Checkoutpage(
strUrl: widget.strUrl,
)
),
);
}
}