Search
 
SCRIPT & CODE EXAMPLE
 

DART

shape property of card in flutter

Card(
  elevation: 5,
  shape: RoundedRectangleBorder(
  borderRadius: BorderRadius.circular(10),
  ),
  child: ListTile(),
)
Comment

how to give shape to card in flutter

Card(
  color: Colors.grey[900],
  shape: RoundedRectangleBorder(
    side: BorderSide(color: Colors.white70, width: 1),
    borderRadius: BorderRadius.circular(10),
  ),
  margin: EdgeInsets.all(20.0),
  child: Container(
    child: Column(
        children: <Widget>[
        ListTile(
            title: Text(
            'example',
            style: TextStyle(fontSize: 18, color: Colors.white),
            ),
        ),
        ],
    ),
  ),
),
Comment

shape property of card in flutter


Card(
  elevation: 5,
  shape: RoundedRectangleBorder(
  borderRadius: BorderRadius.circular(10),
  ),
  child: ListTile(),
)
Comment

PREVIOUS NEXT
Code Example
Dart :: How to center AlertDialog FlatButton in Flutter 
Dart :: sleep in dart 
Dart :: flutter text hint 
Dart :: if directory exists flutter 
Dart :: change padding in text field flutter 
Dart :: dart log to console 
Dart :: make scaffold scrollable flutter 
Dart :: dart continue 
Dart :: constrainedbox flutter 
Dart :: How to create a small circular dot in FLutter code example 
Dart :: raisedbutton shape flutter 
Dart :: toast flutter 
Dart :: flutter linear progress indicator height 
Dart :: dart to double 
Dart :: flutter text decoration underline color 
Dart :: dart list map index 
Dart :: convert string to float .0 dart 
Dart :: flutter tooltip margin and padding 
Dart :: convert long to date android 
Dart :: looping through a list dart 
Dart :: flutter horizontal line 
Dart :: flutter listtile selected 
Dart :: how to convert int/int to float dart 
Dart :: flutter get number of days in month 
Dart :: android studio emulator blue screen windows 10 
Dart :: flutter performance tips 
Dart :: flutter color hex 
Dart :: Chang height of the bottom Navigation bar in flutter 
Dart :: flutter list to map 
Dart :: flutter remove object from list 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =