positioned method
Extension for Stack Positioned
Implementation
Widget positioned(
{double? top,
double? bottom,
double? left,
double? right,
double? height,
double? width,
bool isFilled = false}) {
return isFilled
? Positioned.fill(
key: key,
top: top,
bottom: bottom,
left: left,
right: right,
child: this,
)
: Positioned(
key: key,
top: top,
bottom: bottom,
left: left,
right: right,
height: height,
width: width,
child: this,
);
}