|
|
|
@ -1,3 +1,5 @@
|
|
|
|
|
|
|
|
import 'dart:io';
|
|
|
|
|
|
|
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter/services.dart';
|
|
|
|
import 'package:flutter/services.dart';
|
|
|
|
import 'package:flutter_svg/flutter_svg.dart';
|
|
|
|
import 'package:flutter_svg/flutter_svg.dart';
|
|
|
|
@ -77,7 +79,11 @@ class ContactUsBottomSheet extends StatelessWidget {
|
|
|
|
iconSize: 20,
|
|
|
|
iconSize: 20,
|
|
|
|
tooltip: "Copy",
|
|
|
|
tooltip: "Copy",
|
|
|
|
onPressed: () {
|
|
|
|
onPressed: () {
|
|
|
|
Clipboard.setData(ClipboardData(text: sites[index].phoneNumber!));
|
|
|
|
Clipboard.setData(ClipboardData(text: sites[index].phoneNumber!)).then((value) {
|
|
|
|
|
|
|
|
if (Platform.isIOS) {
|
|
|
|
|
|
|
|
"Copied.".addTranslation.showToast;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
),
|
|
|
|
),
|
|
|
|
IconButton(
|
|
|
|
IconButton(
|
|
|
|
|