tapped
Tapped is an easy use widget like UIButtonSystemButtom in iOS. 一个类似iOS系统按钮的效果Widget,套在任何组件上,该组件就会获得一个简单的按下动画,支持长按与短按。
Usage
return Tapped(
child:Text('submit'),
onTap:()=>print('did tap'),
)
Getting Started
This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.