build method
Implementation
@override
Widget build(BuildContext context) {
if (isSliver) {
return SliverPositioned(
left: left,
top: top,
right: right,
bottom: bottom,
width: width,
height: height,
child: child.build(context),
);
}
return Positioned(
left: left,
top: top,
right: right,
bottom: bottom,
width: width,
height: height,
child: child.build(context),
);
}