xxxxxxxxxx
Card(
child: new InkWell(
onTap: () {
print("tapped");
},
child: Container(
width: 100.0,
height: 100.0,
),
),
),
xxxxxxxxxx
GestureDetector(
onTap: () {
print("Tapped a Container");
},
child: Container( ),
)
xxxxxxxxxx
new GestureDetector(
onTap: (){
print("Container clicked");
},
child: new Container(
width: 500.0,
padding: new EdgeInsets.fromLTRB(20.0, 40.0, 20.0, 40.0),
color: Colors.green,
child: new Column(
children: [
new Text("Ableitungen"),
]
),
)
);
xxxxxxxxxx
InkWell(
child: Container( ),
onTap: () {
print("Tapped on container");
},
);