浏览代码

fix

/siyaoH-1.17-PlatformMessage
siyao 4 年前
当前提交
b78e831f
共有 2 个文件被更改,包括 22 次插入22 次删除
  1. 42
      Samples/UIWidgetsSamples_2019_4/Assets/UIWidgetsExample.cs
  2. 2
      com.unity.uiwidgets/Runtime/painting/text_painter.cs

42
Samples/UIWidgetsSamples_2019_4/Assets/UIWidgetsExample.cs


{
public override Widget build(BuildContext context)
{
return new CupertinoPageScaffold(
child: new Center(
child: new CupertinoButton(
child: new Text(
"THIS IS TAB #"
),
onPressed: () =>
{
Navigator.of(context).push(
new CupertinoPageRoute(builder: (contex3) =>
{
return
new CupertinoAlertDemo();
})
);
}
)
//new Text("hello world!", style: CupertinoTheme.of(context).textTheme.navTitleTextStyle)
)
//backgroundColor: Colors.brown
);
// return new CupertinoPageScaffold(
// child: new Center(
// child: new CupertinoButton(
// child: new Text(
// "THIS IS TAB #"
// ),
// onPressed: () =>
// {
// Navigator.of(context).push(
// new CupertinoPageRoute(builder: (contex3) =>
// {
// return
// new CupertinoAlertDemo();
// })
// );
// }
// )
// //new Text("hello world!", style: CupertinoTheme.of(context).textTheme.navTitleTextStyle)
// )
// //backgroundColor: Colors.brown
// );
List<BottomNavigationBarItem> items = new List<BottomNavigationBarItem>();
items.Add(new BottomNavigationBarItem(

2
com.unity.uiwidgets/Runtime/painting/text_painter.cs


}
public TextHeightBehavior textHeightBehavior {
get { return textHeightBehavior; }
get { return _textHeightBehavior; }
set {
if (_textHeightBehavior == value)
return;

正在加载...
取消
保存