Search
 
SCRIPT & CODE EXAMPLE
 

DART

how to add cards in flutter

Container(

      width: 300,
      height: 100,
      child: Card(
        shape: RoundedRectangleBorder(
        borderRadius: BorderRadius.circular(15.0),

        ),
        color: Colors.lightBlueAccent.withOpacity(0.5),

      ),
    );
Comment

card in flutter

body: SingleChildScrollView(
      child: Container(
        color: Colors.black,
        height: 200.0,
        width: double.infinity,
        child: Row(
          children: <Widget>[
            Expanded(
              child: Column(
                mainAxisAlignment: MainAxisAlignment.center,
                children: <Widget>[
                  Expanded(
                    child: Container(
                      color: Colors.yellow,
                      height: 100.0,
                      width: double.infinity,
                      child: Text(
                          'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500'),
                    ),
                  ),
                  Container(
                    color: Colors.green,
                    height: 50.0,
                    width: double.infinity,
                    child: Column(
                      mainAxisAlignment: MainAxisAlignment.start,
                      crossAxisAlignment: CrossAxisAlignment.start,
                      children: <Widget>[
                        Text('Your date'),
                        Text('Your Category')
                      ],
                    ),
                  )
                ],
              ),
            ),
            Container(
              color: Colors.red,
              height: double.infinity,
              width: 150.0,
              child: Image.network("https://thumbs.dreamstime.com/b/funny-face-baby-27701492.jpg",
                fit: BoxFit.fill

              ),
            ),
          ],
        ),
      ),
    ),
Comment

PREVIOUS NEXT
Code Example
Dart :: singleton in dart 
Dart :: flutter alertdialog actionsOverflowButtonSpacing 
Dart :: dart char is uppercase 
Dart :: convert string to double flutter 
Dart :: nodeFocus flutter 
Dart :: convert list in set dart 
Dart :: destructor in dart 
Dart :: dart list sort by value 
Dart :: flutter date input field 
Dart :: settimeout dart 
Dart :: dart convert string to double 
Dart :: round container boundary in flutter 
Dart :: flutter upgrade pubspec 
Dart :: string to int in dart 
Dart :: how to show snackbar in flutter 
Dart :: flutter compute 
Dart :: flutter add icon 
Dart :: select date from datepicker in textfield flutter 
Dart :: Flutter list of strings to one String 
Dart :: dart class 
Dart :: paste clipboard flutter 
Dart :: convert datetime to TZDateTimeflutter 
Dart :: global navigator key flutter 
Dart :: dart fixed length list 
Dart :: How use late in Dart 
Dart :: is init state executed when returning with navigator flutter 
Dart :: text widget not recognize the currency symbol flutter 
Dart :: add sound to my flutter app 
Dart :: flutter column stackov 
Dart :: dart add list to list 
ADD CONTENT
Topic
Content
Source link
Name
4+1 =