浏览代码

update

/main
gewentao 6 年前
当前提交
0cb40d8f
共有 1 个文件被更改,包括 25 次插入11 次删除
  1. 36
      Assets/UIWidgets/Tests/Widgets.cs

36
Assets/UIWidgets/Tests/Widgets.cs


)
),
new CustomButton(
padding: EdgeInsets.only(4.0, 0.0, 16.0, 0.0),
padding: EdgeInsets.only(0.0, 0.0, 16.0, 0.0),
Icons.notifications,
Icons.keyboard_arrow_down,
size: 18.0,
color: CLColors.icon2
)

cursorColor: Color.fromARGB(255, 0, 0, 0)
)
),
new CustomButton(
backgroundColor: CLColors.background4,
child: new Icon(
Icons.notifications,
size: 18.0,
color: CLColors.white
new Container(
decoration: new BoxDecoration(
color: CLColors.background4,
borderRadius: BorderRadius.all(2)
),
width: 36,
height: 36,
child: new Row(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: new List<Widget> {
new CustomButton(
padding: EdgeInsets.only(-8.0, 0.0, 8.0, 0.0),
child: new Icon(
Icons.search,
size: 18.0,
color: CLColors.white
)
)
}
)
),
new Container(

}
Widget _buildBanner(BuildContext context) {
return new Container(child:
new Container(
return new Container(
height: 450,
color: CLColors.white,
child: widgets.Image.network(

)
);
}

public static class Icons {
public static readonly IconData notifications = new IconData(0xe7f4, fontFamily: "MaterialIcons");
public static readonly IconData account_circle = new IconData(0xe853, fontFamily: "MaterialIcons");
public static readonly IconData search = new IconData(0xe8b6, fontFamily: "MaterialIcons");
public static readonly IconData keyboard_arrow_down = new IconData(0xe313, fontFamily: "MaterialIcons");
}
public static class CLColors {

正在加载...
取消
保存