假设我有一些Flutter代码,如下所示:
// ...
body: new Center(
child: new Text(
'Hello, I am some text',
),
),
// ...
如何使屏幕上的文本响应轻拍?(例如,当我轻拍文本时,简单地打印到日志中。)
谢谢!