Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
F
flutter_demo
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
徐群-ios
flutter_demo
提交
2310294f
提交
2310294f
编写于
3月 09, 2023
作者:
zhuxueliang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
dev
上级
4a654ff1
变更
5
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
42 行增加
和
2 行删除
+42
-2
i01.png
assets/mine/2.0x/i01.png
+0
-0
i01.png
assets/mine/3.0x/i01.png
+0
-0
i01.png
assets/mine/i01.png
+0
-0
mine_screen.dart
lib/Mine/mine_screen.dart
+41
-2
pubspec.yaml
pubspec.yaml
+1
-0
未找到文件。
assets/mine/2.0x/i01.png
0 → 100644
浏览文件 @
2310294f
1.5 KB
assets/mine/3.0x/i01.png
0 → 100644
浏览文件 @
2310294f
2.7 KB
assets/mine/i01.png
0 → 100644
浏览文件 @
2310294f
652 字节
lib/Mine/mine_screen.dart
浏览文件 @
2310294f
...
...
@@ -6,8 +6,47 @@ class MineScreen extends StatelessWidget {
@override
Widget
build
(
BuildContext
context
)
{
return
Scaffold
(
appBar:
AppBar
(
title:
const
Text
(
'我的'
)),
body:
const
Center
(
child:
Text
(
'我的2'
)),
extendBodyBehindAppBar:
true
,
body:
Container
(
color:
const
Color
.
fromRGBO
(
248
,
248
,
248
,
1
),
height:
double
.
infinity
,
width:
double
.
infinity
,
child:
Stack
(
// alignment: Alignment.center,
// padding: const EdgeInsets.only(top: 10.0),
children:
[
FractionallySizedBox
(
widthFactor:
1
,
child:
Image
.
network
(
'https://static.preclight.com/static/img/uni-magic-box/mine/bg01.png'
,
fit:
BoxFit
.
fill
,
),
),
const
Positioned
(
top:
54
,
right:
17
,
child:
Image
(
image:
AssetImage
(
'assets/mine/i01.png'
),
width:
26
,
height:
26
,
)),
Container
(
padding:
const
EdgeInsets
.
only
(
top:
130
,
left:
19
),
child:
Row
(
children:
[
SizedBox
(
width:
50
,
height:
50
,
child:
ClipRRect
(
borderRadius:
BorderRadius
.
circular
(
50
),
clipBehavior:
Clip
.
antiAlias
,
child:
Image
.
network
(
'https://static.preclight.com/uploads/2022-12-28/63abf8cf52957.jpg'
),
),
)
]),
),
],
)),
);
}
}
pubspec.yaml
浏览文件 @
2310294f
...
...
@@ -72,6 +72,7 @@ flutter:
assets
:
-
assets/singleImgs/
-
assets/multiImgs/
-
assets/mine/
-
assets/buyershows.json
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录