This effect is similar to a fast-growing rectangle. Because it's clear that it's not just round ripples. It even exists in the google play market as in video.
How to do it using flutter?
(RaisedButton, MaterialButton have ripple effect (circle), but not sort of rectangle compared to that)
You can use the InkWell widget to achieve the same result.
InkWell(
onTap: () {//doSomething},
child: Container(
margin: EdgeInsets.all(8.0),
child: Text("Press me"),
),
)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.