Answers for "flutter click card"

1

flutter make a container clickable

Card(
  child: new InkWell(
    onTap: () {
      print("tapped");
    },
    child: Container(
      width: 100.0,
      height: 100.0,
    ),
  ),
),
Posted by: Guest on April-16-2020
1

clickable card flutter

GestureDetector(
  onTap: () => ......,
  child: Card(...),
);
Posted by: Guest on October-18-2020

Code answers related to "Dart"

Browse Popular Code Answers by Language