Instance constructor
const
Instance({})
Create a new instance of Instance
name
specifies the name of the runtime instance which will be create
for the Flutter instance of class Container
, name
would be Container
as well
properties
specifies the properties set for the instance. e.g.,
the instance SizedBox(width: 20)
, would have one Property width
.
Implementation
const Instance({
required this.name,
required this.properties,
this.trailingComma = true,
});