Twitter - Layout implemented - need to get API data
This commit is contained in:
@@ -34,7 +34,7 @@ class Home extends StatelessWidget {
|
||||
),
|
||||
ListTile(
|
||||
title: IconButton(
|
||||
icon: Icon(Icons.),
|
||||
icon: Icon(Icons.voice_chat),
|
||||
onPressed: () => Navigator.pushNamed(context, '/Twitter'),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -10,7 +10,21 @@ class TwitterFeed extends StatelessWidget{
|
||||
title: Text("49ers"),
|
||||
backgroundColor: Colors.green,
|
||||
),
|
||||
body: Text("Twitter Goes here"),
|
||||
body: Container(
|
||||
color: Colors.black12,
|
||||
child: ListView.builder(
|
||||
itemCount: 10,
|
||||
itemBuilder: (context, ind){
|
||||
return Card(
|
||||
child: ListTile(
|
||||
leading: FlutterLogo(),
|
||||
title: Text('Twitter User'),
|
||||
subtitle: Text('Tweet: I really hope I can figure out the whole URl thing what if this is longer and stuff. will it wrap around? I hope so we about to find out'),
|
||||
),
|
||||
);
|
||||
}
|
||||
),
|
||||
),
|
||||
drawer: Drawer(
|
||||
child: ListView(
|
||||
children: <Widget>[
|
||||
@@ -37,4 +51,5 @@ class TwitterFeed extends StatelessWidget{
|
||||
)
|
||||
));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user