topSet method

Positioned topSet(
  1. double value
)

Implementation

Positioned topSet(double value) {
  if (this is Positioned) {
    final thisWidget = this as Positioned;
    return Positioned(
      child: thisWidget.child,
      left: thisWidget.left,
      right: thisWidget.right,
      bottom: thisWidget.bottom,
      top: value,
    );
  }
  return Positioned(top: value, child: this);
}