encabezado_pais.dart 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. import 'package:flutter/material.dart';
  2. class EncabezadoPais extends StatelessWidget {
  3. final String paisCode;
  4. final String paisName;
  5. const EncabezadoPais({
  6. Key? key,
  7. required this.paisCode,
  8. required this.paisName,
  9. }) : super(key: key);
  10. @override
  11. Widget build(BuildContext context) {
  12. return Column(
  13. children: [
  14. Row(
  15. children: [
  16. const SizedBox(width: 32.0),
  17. Image.asset(
  18. "assets/logo.png",
  19. width: 64.0,
  20. ),
  21. const SizedBox(width: 16.0),
  22. Expanded(child: Image.asset("assets/logo_completo.png")),
  23. const SizedBox(width: 32.0),
  24. ],
  25. ),
  26. /*const SizedBox(height: 8.0),
  27. Image.asset(
  28. "assets/banderas/$paisCode.png",
  29. height: 32.0,
  30. ),
  31. Text(
  32. "S&P $paisName",
  33. textAlign: TextAlign.center,
  34. style: const TextStyle(
  35. fontFamily: "Helvetica Neue Black Cond",
  36. fontSize: 16.0,
  37. ),
  38. ),*/
  39. ],
  40. );
  41. }
  42. }