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 :: flutter make a container clickable 
Dart :: flutter debugprint 
Dart :: how to add icon in the app bar in flutter 
Dart :: show date picker flutter 
Dart :: flutter random int 
Dart :: dart concat string and int 
Dart :: alertdialog shape flutter 
Dart :: Flutter For In loop explained 
Dart :: flutter firestore update a particular document field 
Dart :: dart ternary 
Dart :: flutter upgrade pubspec 
Dart :: flutter persistent header 
Dart :: get user country automatically flutter 
Dart :: flutter image load 
Dart :: flutter overflow 
Dart :: flutter = How to set Scrollbar colour in flutter? 
Dart :: convert double to string flutter 
Dart :: flutter datacolumn center text 
Dart :: alternate of string class in dart, stringBuffer dart, string buffer dart, string buffer,stringbuffer,stringBuffer 
Dart :: next row column in flutter 
Dart :: flutter nimations 
Dart :: flutter how to create text with line on bot 
Dart :: dart map where 
Dart :: remove native splash screen flutter 
Dart :: how to load asset image to server in flutter 
Dart :: how to get current timezone flutter 
Dart :: flutter string add , for 1000 
Dart :: return type of a function 
Dart :: inkwell not splashing in stack 
Swift :: swift generate random number 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =