Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Widget _drawer() => Drawer(
- child: Column(
- children: <Widget>[
- AppBar(
- title: Text("Articles"),
- automaticallyImplyLeading: false,
- backgroundColor: RED_LIGHT,
- elevation: 0,
- ),
- Container(
- alignment: Alignment.centerLeft,
- padding: EdgeInsets.only(left: 20),
- constraints: BoxConstraints.expand(height: 80),
- child: Text(
- "This is my first article.",
- style: TextStyle(fontSize: 20),
- ),
- ),
- Divider(
- height: 0,
- color: TEXT_BLACK,
- ),
- Container(
- alignment: Alignment.centerLeft,
- padding: EdgeInsets.only(left: 20),
- constraints: BoxConstraints.expand(height: 80),
- child: Text(
- "This is my second article.",
- style: TextStyle(fontSize: 20),
- ),
- ),
- Divider(
- height: 0,
- color: TEXT_BLACK,
- ),
- Container(
- alignment: Alignment.centerLeft,
- padding: EdgeInsets.only(left: 20),
- constraints: BoxConstraints.expand(height: 80),
- child: Text(
- "This is my third article.",
- style: TextStyle(fontSize: 20),
- ),
- ),
- Divider(
- height: 0,
- color: TEXT_BLACK,
- ),
- Container(
- alignment: Alignment.centerLeft,
- padding: EdgeInsets.only(left: 20),
- constraints: BoxConstraints.expand(height: 80),
- child: Text(
- "This is my forth article.",
- style: TextStyle(fontSize: 20),
- ),
- ),
- Divider(
- height: 0,
- color: TEXT_BLACK,
- ),
- Container(
- alignment: Alignment.centerLeft,
- padding: EdgeInsets.only(left: 20),
- constraints: BoxConstraints.expand(height: 80),
- child: Text(
- "This is my fifth article.",
- style: TextStyle(fontSize: 20),
- ),
- ),
- Divider(
- height: 0,
- color: TEXT_BLACK,
- ),
- Container(
- alignment: Alignment.centerLeft,
- padding: EdgeInsets.only(left: 20),
- constraints: BoxConstraints.expand(height: 80),
- child: Text(
- "This is my sixth article.",
- style: TextStyle(fontSize: 20),
- ),
- ),
- Divider(
- height: 0,
- color: TEXT_BLACK,
- ),
- Container(
- alignment: Alignment.centerLeft,
- padding: EdgeInsets.only(left: 20),
- constraints: BoxConstraints.expand(height: 80),
- child: Text(
- "This is my seventh article.",
- style: TextStyle(fontSize: 20),
- ),
- ),
- Divider(
- height: 0,
- color: TEXT_BLACK,
- ),
- ],
- ),
- );
Add Comment
Please, Sign In to add comment