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

hashCode int
The hash code for this object.
no setterinherited
names List<String>
所有图标名(小驼峰),按字母序。用于图标浏览页。
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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