definePanelLayout static method

void definePanelLayout(
  1. String layoutName,
  2. PanelLayout layout
)

Register a PanelLayout. This is called when making new Panel types. See the PanelLayout sample for an example.

Implementation

static void definePanelLayout(
  _i2.String layoutName,
  _i3.PanelLayout layout,
) {
  _i4.callMethod(
    _declaredPanel,
    'definePanelLayout',
    [
      layoutName,
      layout,
    ],
  );
}