Advertisement
Pit_Anonim

Untitled

Apr 24th, 2021
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.19 KB | None | 0 0
  1. import 'package:flutter/material.dart';
  2.  
  3. class HomeScreen extends StatelessWidget{
  4. HomeScreen(){
  5.  
  6. }
  7.  
  8. Widget build(BuildContext context) {
  9. return Stack(
  10. children: [
  11. Align(
  12. alignment: Alignment.center,
  13. child: Container(
  14. width: double.infinity,
  15. child: Image.asset("assets/background.png", fit: BoxFit.fitWidth,),
  16. ),
  17. ),
  18. Column(
  19. children: [
  20. Container(
  21. alignment: Alignment.topLeft,
  22. padding: EdgeInsets.only(top: 60, left: 10, bottom: 45),
  23. child: Column(
  24. crossAxisAlignment: CrossAxisAlignment.start,
  25. children: [
  26. Text("Здравствуйте,", style: TextStyle(fontSize: 25, fontWeight: FontWeight.bold),),
  27. Text("Вот главная информация за неделю", style: TextStyle(fontSize: 18, fontWeight: FontWeight.bold),)
  28. ],
  29. )
  30. ),
  31.  
  32. Container(
  33. margin: EdgeInsets.only(left: 10, right: 10, bottom: 30),
  34. width: double.infinity,
  35. decoration: BoxDecoration(
  36. color: Color(0xFFEDF4F7),
  37. borderRadius: BorderRadius.circular(40),
  38. boxShadow: [
  39. BoxShadow(
  40. spreadRadius: -18,
  41. blurRadius: 28,
  42. color: Color(0x41000000)
  43. )
  44. ]
  45. ),
  46. child: Padding(
  47. padding: EdgeInsets.symmetric(vertical: 20, horizontal: 40),
  48. child: Column(
  49. crossAxisAlignment: CrossAxisAlignment.start,
  50. children: [
  51. Text("Запросы", style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold),),
  52. SizedBox(
  53. width: double.infinity,
  54. child: Center(
  55. child: Row(
  56. crossAxisAlignment: CrossAxisAlignment.start,
  57. children: [
  58. Column(
  59. crossAxisAlignment: CrossAxisAlignment.start,
  60. children: [
  61. Text("289", style: TextStyle(fontSize: 90, fontWeight: FontWeight.bold),),
  62. Text("Цифорок было написано", style: TextStyle(fontSize: 12, fontWeight: FontWeight.normal),),
  63. ],
  64. ),
  65.  
  66. SizedBox(
  67. width: 30,
  68. ),
  69. Column(
  70. crossAxisAlignment: CrossAxisAlignment.start,
  71. children: [
  72. SizedBox(
  73. height: 18,
  74. ),
  75. Text("Описание цифорки", style: TextStyle(fontSize: 10, fontWeight: FontWeight.normal),),
  76. Text("78", style: TextStyle(fontSize: 30, fontWeight: FontWeight.bold),),
  77. SizedBox(
  78. height: 12,
  79. ),
  80. Text("Описание цифорки", style: TextStyle(fontSize: 10, fontWeight: FontWeight.normal),),
  81. Text("89", style: TextStyle(fontSize: 30, fontWeight: FontWeight.bold),),
  82. ],
  83. )
  84. ],
  85. ),
  86. ),
  87. )
  88. ],
  89. ),
  90. )
  91. ),
  92. Container(
  93. margin: EdgeInsets.only(left: 10, right: 10, bottom: 15),
  94. width: double.infinity,
  95. height: 250,
  96. decoration: BoxDecoration(
  97. color: Color(0xFFEDF4F7),
  98. borderRadius: BorderRadius.circular(40),
  99. boxShadow: [
  100. BoxShadow(
  101. spreadRadius: -18,
  102. blurRadius: 28,
  103. color: Color(0x41000000)
  104. )
  105. ]
  106. ),
  107. child: Padding(
  108. padding: EdgeInsets.symmetric(vertical: 20, horizontal: 40),
  109. child: Column(
  110. crossAxisAlignment: CrossAxisAlignment.start,
  111. children: [
  112. Text("Текущие заявки", style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold),),
  113. SizedBox(
  114. width: double.infinity,
  115. child: Center(
  116. child: Column(
  117. children: [],
  118. )
  119. ),
  120. )
  121. ],
  122. ),
  123. )
  124. )
  125. ],
  126. )
  127. ],
  128. );
  129. }
  130. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement