浏览代码

Merge pull request #23 from UnityTech/image

fix
/main
GitHub 6 年前
当前提交
433bc977
共有 1 个文件被更改,包括 9 次插入9 次删除
  1. 18
      Assets/UIWidgets/Tests/Widgets.cs

18
Assets/UIWidgets/Tests/Widgets.cs


color: CLColors.white,
borderRadius: BorderRadius.all(3)
),
color: CLColors.white,
width: 320,
height: 36,
padding: EdgeInsets.all(10.0),

crossAxisAlignment: CrossAxisAlignment.center,
children: new List<Widget> {
new CustomButton(
padding: EdgeInsets.only(-8.0, 0.0, 8.0, 0.0),
padding: EdgeInsets.only(8.0, 0.0, 8.0, 0.0),
child: new Icon(
Icons.search,
size: 18.0,

new Container(
decoration: new BoxDecoration(
border: Border.all(
color: CLColors.white)
color: CLColors.white
)
),
margin: EdgeInsets.only(right: 16),
padding: EdgeInsets.all(4),

Widget _buildBanner(BuildContext context) {
return new Container(
height: 450,
color: CLColors.white,
child: widgets.Image.network(
"https://d2ujflorbtfzji.cloudfront.net/banner/5c57178c-4be6-4903-953b-85125bfb7154.jpg",
fit: BoxFit.cover
)
height: 450,
color: CLColors.white,
child: widgets.Image.network(
"https://d2ujflorbtfzji.cloudfront.net/banner/5c57178c-4be6-4903-953b-85125bfb7154.jpg",
fit: BoxFit.cover
)
);
}

正在加载...
取消
保存