gewentao 6 年前
当前提交
f7ded9ab
共有 2 个文件被更改,包括 3 次插入5 次删除
  1. 2
      Assets/UIWidgets/Tests/Widgets.cs
  2. 6
      Assets/UIWidgets/widgets/container.cs

2
Assets/UIWidgets/Tests/Widgets.cs


width: 200,
height: 200,
margin: EdgeInsets.all(30.0),
padding: EdgeInsets.all(15.0),
color: ui.Color.fromARGB(255, 244, 190, 85),
child: image
);
}

6
Assets/UIWidgets/widgets/container.cs


using System;
using System.Collections.Generic;
using UnityEngine;
using Color = UIWidgets.ui.Color;
namespace UIWidgets.widgets {
public class DecoratedBox : SingleChildRenderObjectWidget {

Key key = null,
Alignment alignment = null,
EdgeInsets padding = null,
Color color = null,
ui.Color color = null,
Decoration decoration = null,
Decoration forgroundDecoration = null,
double width = 0.0,

正在加载...
取消
保存