No Description

dynamic.dart 975B

123456789101112131415161718192021222324252627282930313233343536373839
  1. import 'package:flutter/material.dart';
  2. class dynamicWidget extends StatelessWidget {
  3. TextEditingController Product = new TextEditingController();
  4. TextEditingController Price = new TextEditingController();
  5. @override
  6. Widget build(BuildContext context) {
  7. Widget card() {
  8. return SizedBox(
  9. width: 380,
  10. height: 140,
  11. child: Card(
  12. child: Column(
  13. mainAxisSize: MainAxisSize.min,
  14. children: <Widget>[
  15. const ListTile(
  16. leading: Icon(
  17. Icons.check,
  18. color: Colors.green,
  19. size: 60,
  20. ),
  21. title: Text("\nVacunación\nDr. Jímenez", textScaleFactor: 1.15,),
  22. subtitle: Text("Bo. Montellano, Cayey", textScaleFactor: 1.25,),
  23. trailing: Text("\n10:45 - 11:45 ", textScaleFactor: 1.30,),
  24. ),
  25. ],
  26. ),
  27. ),
  28. );
  29. }
  30. }
  31. }