StatusChangeTile constructor

const StatusChangeTile({
  1. Key? key,
  2. Axis? direction,
  3. required Widget node,
  4. StatusChangeNodeAlign nodeAlign = StatusChangeNodeAlign.basic,
  5. double? nodePosition,
  6. Widget? contents,
  7. Widget? oppositeContents,
  8. double? mainAxisExtent,
  9. double? crossAxisExtent,
})

Implementation

const StatusChangeTile({
  Key? key,
  this.direction,
  required this.node,
  this.nodeAlign = StatusChangeNodeAlign.basic,
  this.nodePosition,
  this.contents,
  this.oppositeContents,
  this.mainAxisExtent,
  this.crossAxisExtent,
})  : assert(node != null),
      assert(nodeAlign != null),
      assert(
        nodeAlign == StatusChangeNodeAlign.basic ||
            (nodeAlign != StatusChangeNodeAlign.basic &&
                nodePosition == null),
        'Cannot provide both a nodeAlign and a nodePosition',
      ),
      assert(nodePosition == null || nodePosition >= 0),
      super(key: key);