onTap method

InkWell onTap(
  1. VoidCallback onTap, {
  2. int? interval,
  3. bool? releaseFocus = true,
})

默认有效点击间隔一秒,interval=0 时无间隔时间

Implementation

InkWell onTap(VoidCallback onTap, {int? interval, bool? releaseFocus = true}) => _InkWell._(this, [DateTime.now().millisecondsSinceEpoch], interval, onTap, releaseFocus);