setLayout method

void setLayout(
  1. 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;
  });
}