how to put tapping effect on card in flutter

204

GestureDetector(
  onTap: () => ......,
  child: Card(...),
);
Card(
  child: new InkWell(
    onTap: () {
      print("tapped");
    },
  ),
),

Comments

Submit
0 Comments