Component class

Constructors

Component(Component parent, Map<String, dynamic> node, Map<String, dynamic> styles, {dynamic id, dynamic inRepeatIndex, dynamic inRepeatPrefixExp})
克隆节点id, inRepeatIndex, inRepeatPrefixExp不为空

Properties

children List<Component>
子节点
read / write
directives Map<String, dynamic>
指令
read / write
events Map<String, dynamic>
事件
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
唯一id
read / write
inRepeatIndex int
在for里面的下标
read / write
inRepeatPrefixExp String
在for里面的表达式前缀
read / write
isInRepeat bool
是否在for里面
read / write
node Map<String, dynamic>
节点
read / write
parent Component
父节点
read / write
properties Map<String, Property>
属性
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
styles Map<String, dynamic>
样式
read / write
tag String
标签类型
read / write

Methods

containElseExpression() bool
containRepeat() bool
getElseIfExpression() String
getForExpression() String
getForIndexName() String
getForItemName() String
getIfExpression() String
getRealForExpression() String
handleShown() → void
insertChildren(int index, List<Component> children) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
removeRangeChildren(int start, int end) → void
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited