Component class
Constructors
-
Component({List<
String> ? variables}) -
创建一个部件,只能注解在类上,且必须继承 DynamicComponent 来实现。
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
variables
→ List<
String> ? -
部件会用到的变量,对应 DynamicComponent.data 的 key 值。
final
Methods
-
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