Elem class Null safety

Figma2Flutter Element It contains at least Figma name, Figma id and Flutter widget instance Most of the functions such as getElementsByName will contain instances of this class in the responses.

Constructors

Elem({String name = "", String id = "", dynamic widget, String componentName = ""})

Properties

componentName String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
final
name String
final
pageName String
read / write
painter ↔ dynamic
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type String
read / write
widget → dynamic
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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