setLayout method
- SchematicLayoutResult newLayout
Set the schematic layout directly (e.g., from synthesized data).
Implementation
void setLayout(SchematicLayoutResult newLayout) {
if (!mounted) {
return;
}
setState(() {
layout = newLayout;
error = null;
});
}