copyToClipboard static method
Implementation
static copyToClipboard(String text) {
FlutterClipboard.copy(text).then((value) {
EasyLoading.showSuccess('Valor copiado\n$text');
}).onError((error, stackTrace) {
EasyLoading.showError('Falha ao copiar');
});
}