We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
void initState() { super.initState(); _razorpay = Razorpay(); _razorpay.on(Razorpay.EVENT_PAYMENT_SUCCESS, handlePaymentSucces); _razorpay.on(Razorpay.EVENT_PAYMENT_ERROR, handlePaymentError); _razorpay.on(Razorpay.EVENT_EXTERNAL_WALLET, handleExternalWallet);
coursePrice = widget.courseModel.ogprice + '00'; coursename = widget.courseModel.coursename; username = userModel!.name; docidcourse = widget.courseModel.docid; flickManager = FlickManager( videoPlayerController: VideoPlayerController.networkUrl(Uri.parse("${widget.courseModel.demovideolink.toString()}")), autoPlay: false, // Start playing as soon as the video loads );
} @OverRide void dispose() { // Ensure proper disposal of resources flickManager.dispose(); _razorpay.clear(); // flickManager.flickVideoManager?.videoPlayerController?.dispose();
super.dispose();
}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
void initState() {
super.initState();
_razorpay = Razorpay();
_razorpay.on(Razorpay.EVENT_PAYMENT_SUCCESS, handlePaymentSucces);
_razorpay.on(Razorpay.EVENT_PAYMENT_ERROR, handlePaymentError);
_razorpay.on(Razorpay.EVENT_EXTERNAL_WALLET, handleExternalWallet);
} @OverRide
void dispose() {
// Ensure proper disposal of resources
flickManager.dispose();
_razorpay.clear();
// flickManager.flickVideoManager?.videoPlayerController?.dispose();
}
The text was updated successfully, but these errors were encountered: