apply property

set apply (NikuGridView? v)
override

Implementation

set apply(NikuGridView? v) {
  if (v == null) return;

  itemCount = v.itemCount ?? itemCount;
  children = v.children ?? children;
  scrollDirection = v.scrollDirection ?? scrollDirection;
  reverse = v.reverse ?? reverse;
  controller = v.controller ?? controller;
  primary = v.primary ?? primary;
  physics = v.physics ?? physics;
  shrinkWrap = v.shrinkWrap ?? shrinkWrap;
  padding = v.padding ?? padding;
  mainAxisSpacing = v.mainAxisSpacing ?? mainAxisSpacing;
  crossAxisSpacing = v.crossAxisSpacing ?? crossAxisSpacing;
  childAspectRatio = v.childAspectRatio ?? childAspectRatio;
  addAutomaticKeepAlives = v.addAutomaticKeepAlives ?? addAutomaticKeepAlives;
  addRepaintBoundaries = v.addRepaintBoundaries ?? addRepaintBoundaries;
  addSemanticIndexes = v.addSemanticIndexes ?? addSemanticIndexes;
  cacheExtent = v.cacheExtent ?? cacheExtent;
  semanticChildCount = v.semanticChildCount ?? semanticChildCount;
  dragStartBehavior = v.dragStartBehavior ?? dragStartBehavior;
  keyboardDismissBehavior =
      v.keyboardDismissBehavior ?? keyboardDismissBehavior;
  restorationId = v.restorationId ?? restorationId;
  clipBehavior = v.clipBehavior ?? clipBehavior;
  itemBuilder = v.itemBuilder ?? itemBuilder;
  maxCrossAxisExtent = v.maxCrossAxisExtent ?? maxCrossAxisExtent;
  maxCrossExtent = v.maxCrossExtent ?? maxCrossExtent;
  gridDelegate = v.gridDelegate ?? gridDelegate;
  childrenDelegate = v.childrenDelegate ?? childrenDelegate;

  $parent..$merge(v.$parent);
}