Commit 16c7ab29 authored by 杜欣's avatar 杜欣

submit message

parent 712db773
<svg width="9" height="15" viewBox="0 0 9 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1 14L7 7.5L1 1" stroke="#323232" stroke-width="1.5"/>
</svg>
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:gmalpha_flutter/Annotations/RouterCenterRestore.mark.dart'; import 'package:gmalpha_flutter/Annotations/RouterCenterRestore.mark.dart';
import 'package:gmalpha_flutter/NewMessageModel/util/message_date.dart'; import 'package:gmalpha_flutter/NewMessageModel/util/message_date.dart';
import 'package:gmalpha_flutter/commonModel/base/AppBase.dart'; import 'package:gmalpha_flutter/commonModel/base/AppBase.dart';
...@@ -22,15 +23,7 @@ Widget messageTop(imgUrl, title, content, count) { ...@@ -22,15 +23,7 @@ Widget messageTop(imgUrl, title, content, count) {
var height = ScreenUtil().setHeight(12); var height = ScreenUtil().setHeight(12);
return Container( return Container(
padding: EdgeInsets.only(left: width, right: width), padding: EdgeInsets.only(left: width, right: width),
margin: EdgeInsets.only(right: ScreenUtil().setWidth(26)),
width: double.infinity, width: double.infinity,
decoration: BoxDecoration(
color: ALColors.ColorFFFFFF,
image: DecorationImage(
image: AssetImage('images/arrow_right.png'),
alignment: Alignment.centerRight
)
),
child: Stack( child: Stack(
children: <Widget>[ children: <Widget>[
Container( Container(
...@@ -72,7 +65,17 @@ Widget messageTop(imgUrl, title, content, count) { ...@@ -72,7 +65,17 @@ Widget messageTop(imgUrl, title, content, count) {
], ],
), ),
), ),
getNum(count) getNum(count),
Positioned(
right: ScreenUtil().setWidth(14),
top: ScreenUtil().setHeight(12),
child: Hero(
tag: "arrow_right",
child: SvgPicture.asset(
"images/arrow_right.svg",
color: ALColors.Color323232,
)),
)
], ],
) )
); );
......
...@@ -134,11 +134,11 @@ class _MyAppState extends State<MyApp> { ...@@ -134,11 +134,11 @@ class _MyAppState extends State<MyApp> {
return MaterialApp( return MaterialApp(
title: 'Flutter Boost example', title: 'Flutter Boost example',
debugShowCheckedModeBanner: false, debugShowCheckedModeBanner: false,
// routes: { routes: {
// '/': (context) { '/': (context) {
// return TestPage(); return TestPage();
// }, },
// }, },
builder: buildOnce, builder: buildOnce,
theme: new ThemeData( theme: new ThemeData(
primaryColor: Colors.white, primaryColor: Colors.white,
...@@ -152,10 +152,7 @@ class _MyAppState extends State<MyApp> { ...@@ -152,10 +152,7 @@ class _MyAppState extends State<MyApp> {
color: Color(0xFFEFEFEF), color: Color(0xFFEFEFEF),
size: 35.0, size: 35.0,
), ),
), )
home: Container(
color: Colors.transparent,
),
); );
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment