Horje
clickable container flutter Code Example
clickable container flutter
GestureDetector(
    onTap: () { 
        print("Tapped a Container"); 
    },
    child: Container(...),
)
Source: dev.to
flutter make a container clickable
Card(
  child: new InkWell(
    onTap: () {
      print("tapped");
    },
    child: Container(
      width: 100.0,
      height: 100.0,
    ),
  ),
),
flutter make container clickable
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"),
              ]
          ),
        )
    );




Dart

Related
dart regex for url Code Example dart regex for url Code Example
Waiting for another flutter command to release the startup loc Code Example Waiting for another flutter command to release the startup loc Code Example
killl dart daemon Code Example killl dart daemon Code Example
Waiting for another flutter command to release the startup lock.. Code Example Waiting for another flutter command to release the startup lock.. Code Example
flutter sleep Code Example flutter sleep Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
13