RenderSticky constructor

RenderSticky({
  1. double? top,
  2. double? right,
  3. double? bottom,
  4. double? left,
  5. double? topShare,
  6. double? rightShare,
  7. double? bottomShare,
  8. double? leftShare,
  9. EdgeInsets margin = EdgeInsets.zero,
  10. List<ViewportOffset> scrolls = const [],
})

Implementation

RenderSticky({
  double? top,
  double? right,
  double? bottom,
  double? left,
  double? topShare,
  double? rightShare,
  double? bottomShare,
  double? leftShare,
  EdgeInsets margin = EdgeInsets.zero,
  List<ViewportOffset> scrolls = const [],
}) : _top = top,
     _right = right,
     _bottom = bottom,
     _left = left,
     _topShare = topShare,
     _rightShare = rightShare,
     _bottomShare = bottomShare,
     _leftShare = leftShare,
     _margin = margin {
  _heard = scrolls;
}