flutter copy to clipboard

73

import 'package:flutter/services.dart';

onTap: () {
  Clipboard.setData(ClipboardData(text: "your text"));
},
dependencies:
  clipboard: ^0.1.2+8

Comments

Submit
0 Comments