DrawableRoot constructor

const DrawableRoot(
  1. String? id,
  2. DrawableViewport viewport,
  3. List<Drawable> children,
  4. DrawableDefinitionServer definitions,
  5. DrawableStyle? style, {
  6. Float64List? transform,
  7. Color? color,
  8. CacheCompatibilityTester compatibilityTester = const CacheCompatibilityTester(),
})

Creates a new DrawableRoot.

Implementation

const DrawableRoot(
  this.id,
  this.viewport,
  this.children,
  this.definitions,
  this.style, {
  this.transform,
  this.color,
  this.compatibilityTester = const CacheCompatibilityTester(),
});