title: I want to implement text overflow wrap inside gesture detector
body: <p>I am making barcode scanner application and for that after scanning i want my text to be appear inside child: Text in GestureDetector.<br>
  And some time my text may be longer so that i want it to be wrap inside child: Text like TextOverflow.ellipsis. Following is the code.<br></p>
  
  <pre><code>          new Row(
                    mainAxisAlignment: MainAxisAlignment.center,
                    children: &lt;Widget&gt;[
                      new GestureDetector(
                        child: new Flexible(
                          child: new Container(
                          child: new Text(
                            result,
                            overflow: TextOverflow.ellipsis,
                            style: new TextStyle(
                              fontSize: 13.0,
                              fontFamily: 'Roboto',
                              color: new Color(0xFF212121),
                              fontWeight: FontWeight.bold,
                            ),
                          ),
                        ),
                        ),
  
                        onLongPress: () {
                          Clipboard.setData(new ClipboardData(text: result));
                          key.currentState.showSnackBar(new SnackBar(
                            content: new Text("Copied to Clipboard"),
                          ));
                          Scaffold.of(context).showSnackBar(new SnackBar(
                            content: new Text("Sending Message"),
                          ));
                        },
                      ),
                    ],
                  ),
  &lt;br&gt;
  Here i had used GestureDetector because i want to copy the text of child:Text on long press.
  
  </code></pre>