“Tarjeta en Flutter” Código de respuesta

esquema de la tarjeta de dardo

Card(
  shape: RoundedRectangleBorder(
    borderRadius: BorderRadius.circular(40), // if you need this
    side: BorderSide(
      color: Colors.grey.withOpacity(0.2),
      width: 1,
    ),
  ),
  child: Container(
    color: Colors.white,
    width: 200,
    height: 200,
  ),
)
Attractive Addax

Cómo agregar tarjetas en Flutter

Container(

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

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

      ),
    );
Awab_Sabir

Tarjeta en 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

              ),
            ),
          ],
        ),
      ),
    ),
Sarthak Parajuli

Respuestas similares a “Tarjeta en Flutter”

Preguntas similares a “Tarjeta en Flutter”

Más respuestas relacionadas con “Tarjeta en Flutter” en Dart

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código