Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter make a container clickable

Card(
  child: new InkWell(
    onTap: () {
      print("tapped");
    },
    child: Container(
      width: 100.0,
      height: 100.0,
    ),
  ),
),
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #flutter #container #clickable
ADD COMMENT
Topic
Name
4+5 =