dvStudioLayouts top-level constant

List<String> const dvStudioLayouts

Every layout a page document can name.

The renderer and the Dart exporter each switch over this, which is the arrangement the property table was fixed for: two lists of the same thing drift, and here the drift is silent because an unknown name falls through to a column in both. There were three, until the editing canvas was made to draw its boxes through the same function the page does. A wrapping row was missing from both while DVBox.wrapLine existed the whole time, so a chip row or a tag list -- the commonest wrapping thing in any design -- came through as a single row that runs off the side of a phone.

Implementation

const List<String> dvStudioLayouts = <String>[
  'list',
  'row',
  'wrap',
  'grid',
  'stack',
  'single',
];