title: How to select and copy text from Text widget in flutter web?
body: <p>How can I select and copy text from Text widget in flutter web?</p>
  
  <p>I use Clipboard, but it doesnot work.</p>
  
  <pre><code>child: GestureDetector(
                              onTap: () {
                                Clipboard.setData(ClipboardData(text: _data.url))
                                    .catchError((e) {
                                }).whenComplete(() {
                                  Scaffold.of(context).showSnackBar(SnackBar(
                                    content: Text('已复制'),
                                  ));
                                });
                              },
                              child: Text(
                                '复制',
                                style: TextStyle(
                                  color: Colors.grey,
                                  fontSize: 12,
                                ),
                              ),
                            ),
  </code></pre>