Answers for "flutter card height"

2

set width card flutter

SizedBox(
        width: double.infinity,
        height: 300,
        child: Card(
          elevation: 2,
          child: Text("test")
         ),
      )
Posted by: Guest on August-01-2020
2

card height and width flutter

Container(
  height: 500,
  child: Card(
    child: Image.network(
      'https://placeimg.com/640/480/any', fit: BoxFit.fill,),
    shape: RoundedRectangleBorder(
      borderRadius: BorderRadius.circular(10.0),
    ),
    elevation: 5,
    margin: EdgeInsets.all(10),
  ),
),
Posted by: Guest on July-08-2021

Code answers related to "Dart"

Browse Popular Code Answers by Language