Guest User

Untitled

a guest
Jan 22nd, 2019
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.23 KB | None | 0 0
  1. Widget _drawer() => Drawer(
  2. child: Column(
  3. children: <Widget>[
  4. AppBar(
  5. title: Text("Articles"),
  6. automaticallyImplyLeading: false,
  7. backgroundColor: RED_LIGHT,
  8. elevation: 0,
  9. ),
  10. Container(
  11. alignment: Alignment.centerLeft,
  12. padding: EdgeInsets.only(left: 20),
  13. constraints: BoxConstraints.expand(height: 80),
  14. child: Text(
  15. "This is my first article.",
  16. style: TextStyle(fontSize: 20),
  17. ),
  18. ),
  19. Divider(
  20. height: 0,
  21. color: TEXT_BLACK,
  22. ),
  23. Container(
  24. alignment: Alignment.centerLeft,
  25. padding: EdgeInsets.only(left: 20),
  26. constraints: BoxConstraints.expand(height: 80),
  27. child: Text(
  28. "This is my second article.",
  29. style: TextStyle(fontSize: 20),
  30. ),
  31. ),
  32. Divider(
  33. height: 0,
  34. color: TEXT_BLACK,
  35. ),
  36. Container(
  37. alignment: Alignment.centerLeft,
  38. padding: EdgeInsets.only(left: 20),
  39. constraints: BoxConstraints.expand(height: 80),
  40. child: Text(
  41. "This is my third article.",
  42. style: TextStyle(fontSize: 20),
  43. ),
  44. ),
  45. Divider(
  46. height: 0,
  47. color: TEXT_BLACK,
  48. ),
  49. Container(
  50. alignment: Alignment.centerLeft,
  51. padding: EdgeInsets.only(left: 20),
  52. constraints: BoxConstraints.expand(height: 80),
  53. child: Text(
  54. "This is my forth article.",
  55. style: TextStyle(fontSize: 20),
  56. ),
  57. ),
  58. Divider(
  59. height: 0,
  60. color: TEXT_BLACK,
  61. ),
  62. Container(
  63. alignment: Alignment.centerLeft,
  64. padding: EdgeInsets.only(left: 20),
  65. constraints: BoxConstraints.expand(height: 80),
  66. child: Text(
  67. "This is my fifth article.",
  68. style: TextStyle(fontSize: 20),
  69. ),
  70. ),
  71. Divider(
  72. height: 0,
  73. color: TEXT_BLACK,
  74. ),
  75. Container(
  76. alignment: Alignment.centerLeft,
  77. padding: EdgeInsets.only(left: 20),
  78. constraints: BoxConstraints.expand(height: 80),
  79. child: Text(
  80. "This is my sixth article.",
  81. style: TextStyle(fontSize: 20),
  82. ),
  83. ),
  84. Divider(
  85. height: 0,
  86. color: TEXT_BLACK,
  87. ),
  88. Container(
  89. alignment: Alignment.centerLeft,
  90. padding: EdgeInsets.only(left: 20),
  91. constraints: BoxConstraints.expand(height: 80),
  92. child: Text(
  93. "This is my seventh article.",
  94. style: TextStyle(fontSize: 20),
  95. ),
  96. ),
  97. Divider(
  98. height: 0,
  99. color: TEXT_BLACK,
  100. ),
  101. ],
  102. ),
  103. );
Add Comment
Please, Sign In to add comment