提交 47c24cdd authored 作者: 王健's avatar 王健

完成

上级 b631716c
......@@ -151,6 +151,78 @@ class _MyHomePageState extends State<MyHomePage> {
)
],
),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 20.0),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: <Widget>[
Text(
'Favourite',
style: TextStyle(
color: Colors.white,
fontSize: 46.0,
letterSpacing: 1.0,
),
),
IconButton(
icon: Icon(
Icons.more_horiz,
size: 32.0,
color: Colors.white,
),
onPressed: () {},
),
],
),
),
Padding(
padding: const EdgeInsets.only(left: 20.0),
child: Row(
children: <Widget>[
Container(
decoration: BoxDecoration(
color: Colors.blueAccent,
borderRadius: BorderRadius.circular(20.0),
),
child: Center(
child: Padding(
padding: const EdgeInsets.symmetric(
horizontal: 22.0,
vertical: 6.0,
),
child: Text(
"Animated",
style: TextStyle(
color: Colors.white,
),
),
),
),
),
SizedBox(
width: 15.0,
),
Text(
'9+ Stories',
style: TextStyle(
color: Colors.blue,
),
)
],
),
),
SizedBox(height: 20.0),
Row(
children: <Widget>[
Padding(
padding: const EdgeInsets.only(left: 18.0),
child: ClipRRect(
borderRadius: BorderRadius.circular(20.0),
child: Image.asset('assets/images/3.png',width: 296.0,),
),
),
],
),
],
),
),
......@@ -244,14 +316,15 @@ class CardScrollWidget extends StatelessWidget {
height: 10.0,
),
Padding(
padding: const EdgeInsets.only(left: 12.0, bottom: 12.0),
padding: const EdgeInsets.only(
left: 12.0, bottom: 12.0),
child: Container(
padding: const EdgeInsets.symmetric(
horizontal: 22.0, vertical: 6.0),
decoration: BoxDecoration(
color: Colors.blueAccent,
borderRadius: BorderRadius.circular(20.0),
),
decoration: BoxDecoration(
color: Colors.blueAccent,
borderRadius: BorderRadius.circular(20.0),
),
child: Text(
'Read Later ',
style: TextStyle(
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论