top property

  1. @override
int? get top
override

Implementation

@override
int? get top {
  if (axis == Axis.vertical) {
    return start;
  }
  final crossAxisBoundedEdge = this.crossAxisBoundedEdge;
  if (crossAxisBoundedEdge == null) {
    return null;
  }
  switch (crossAxisBoundedEdge) {
    case RangeEdge.leading:
      return crossAxisBound;
    case RangeEdge.trailing:
      return null;
  }
}