import 'package:flutter/material.dart'; class dynamicWidget extends StatelessWidget { TextEditingController Product = new TextEditingController(); TextEditingController Price = new TextEditingController(); @override Widget build(BuildContext context) { Widget card() { return SizedBox( width: 380, height: 140, child: Card( child: Column( mainAxisSize: MainAxisSize.min, children: [ const ListTile( leading: Icon( Icons.check, color: Colors.green, size: 60, ), title: Text("\nVacunación\nDr. Jímenez", textScaleFactor: 1.15,), subtitle: Text("Bo. Montellano, Cayey", textScaleFactor: 1.25,), trailing: Text("\n10:45 - 11:45 ", textScaleFactor: 1.30,), ), ], ), ), ); } } }