RenderSticky constructor
RenderSticky({
- double? top,
- double? right,
- double? bottom,
- double? left,
- EdgeInsets margin = EdgeInsets.zero,
- 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;
}