configuration property

ViewConfiguration configuration

The constraints used for the root layout.

Implementation

ViewConfiguration get configuration => _configuration;
void configuration= (ViewConfiguration value)

The configuration is initially set by the configuration argument passed to the constructor.

Always call scheduleInitialFrame before changing the configuration.

Implementation

set configuration(ViewConfiguration value) {
  assert(value != null);
  if (configuration == value)
    return;
  _configuration = value;
  replaceRootLayer(_updateMatricesAndCreateNewRootLayer());
  assert(_rootTransform != null);
  markNeedsLayout();
}