toPreset method
- String name
Returns a ViewPreset to match the current state.
Implementation
ViewPreset toPreset(String name) => ViewPreset(
name: name,
views: views.toList(),
horizontal1: horizontalController1.ratios,
horizontal2: horizontalController2.ratios,
vertical1: verticalController.ratios,
vertical2: verticalController2.ratios,
horizontal3: horizontalController3.ratios,
horizontal4: horizontalController4.ratios,
);