api integration
This commit is contained in:
@@ -3,7 +3,6 @@ import 'dart:typed_data';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:path_provider/path_provider.dart';
|
||||
import 'package:screenshot/screenshot.dart';
|
||||
import 'package:social_share/social_share.dart';
|
||||
|
||||
import '../../../app.dart';
|
||||
|
||||
@@ -27,10 +26,10 @@ class _TransactionSuccessScreen extends State<TransactionSuccessScreen> {
|
||||
final imagePath = File('${directory.path}/transaction_success.png');
|
||||
await imagePath.writeAsBytes(imageBytes);
|
||||
|
||||
SocialShare.shareOptions(
|
||||
"Transaction Successful",
|
||||
imagePath: imagePath.path,
|
||||
);
|
||||
// SocialShare.shareOptions(
|
||||
// "Transaction Successful",
|
||||
// imagePath: imagePath.path,
|
||||
// );
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user