您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
27 行
722 B
27 行
722 B
using Unity.UIWidgets.foundation;
|
|
using Unity.UIWidgets.ui;
|
|
|
|
namespace Unity.UIWidgets.widgets {
|
|
public class BottomNavigationBarItem {
|
|
public BottomNavigationBarItem(
|
|
Widget icon = null,
|
|
Widget title = null,
|
|
Widget activeIcon = null,
|
|
Color backgroundColor = null
|
|
) {
|
|
D.assert(icon != null);
|
|
this.icon = icon;
|
|
this.activeIcon = activeIcon ?? icon;
|
|
this.title = title;
|
|
this.backgroundColor = backgroundColor;
|
|
}
|
|
|
|
public readonly Widget icon;
|
|
|
|
public readonly Widget activeIcon;
|
|
|
|
public readonly Widget title;
|
|
|
|
public readonly Color backgroundColor;
|
|
}
|
|
}
|