Advertisement
Val_Kir

sdf

Apr 22nd, 2021
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. Widget _buildBody() {
  2. return ListView(
  3. padding: const EdgeInsets.all(8.0),
  4. children: <Widget> [
  5. Card(
  6. color: Colors.pinkAccent[100],
  7. child: Column(
  8. children: <Widget>[
  9. SizedBox(
  10. height: 180.0,
  11. child: Stack(
  12. children: <Widget> [
  13. Positioned (
  14. bottom: 16.0,
  15. left: 16.0,
  16. right: 16.0,
  17. child: FittedBox(
  18. fit: BoxFit.scaleDown,
  19. alignment: Alignment.centerLeft,
  20. child: Text(
  21. 'Опросник',
  22. style: Theme.of(context)
  23. .textTheme
  24. .headline5
  25. .copyWith(color: Colors.black),
  26. ),
  27. ),
  28. )
  29. ],
  30. ),
  31. )
  32. ],
  33. ),
  34. ),
  35. Card(
  36. color: Colors.cyanAccent[100],
  37. child: Column(
  38. children: <Widget>[
  39. SizedBox(
  40. height: 180.0,
  41. child: Stack(
  42. children: <Widget> [
  43. Positioned (
  44. bottom: 16.0,
  45. left: 16.0,
  46. right: 16.0,
  47. child: FittedBox(
  48. fit: BoxFit.scaleDown,
  49. alignment: Alignment.centerLeft,
  50. child: Text(
  51. 'Техники',
  52. style: Theme.of(context)
  53. .textTheme
  54. .headline5
  55. .copyWith(color: Colors.black),
  56. ),
  57. ),
  58. )
  59. ],
  60. ),
  61. )
  62. ],
  63. ),
  64. )
  65. ],
  66. );
  67. }
  68. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement