MiuixExtendedIcons class
扩展图标集合。对应 Kotlin MiuixIcons.Extended(通过 MiuixIcons.<Name> 访问)。
用法:MiuixIcons.extended.byName('add')(默认 Regular 字重)或
MiuixIcons.extended.byName('add', MiuixIconWeight.light) 取指定字重。
Constructors
- MiuixExtendedIcons.internal()
-
内部构造。请通过
MiuixIcons.extended使用单例,勿直接实例化。const
Properties
Methods
-
byName(
String name, [MiuixIconWeight weight = MiuixIconWeight.regular]) → MiuixVectorIcon? -
按名字取图标(默认 Regular)。名字为小驼峰(如
addCircle)。找不到返回 null。 -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited