positioned method
Implementation
Widget positioned({
Key? key,
double? left,
double? top,
double? right,
double? bottom,
double? width,
double? height,
bool animate = false,
}) =>
animate
? _StyledAnimatedBuilder(
key: key,
builder: (animation) {
return AnimatedPositioned(
child: this,
duration: animation.duration,
curve: animation.curve,
left: left,
top: top,
right: right,
bottom: bottom,
width: width,
height: height,
);
},
)
: Positioned(
key: key,
child: this,
left: left,
top: top,
right: right,
bottom: bottom,
width: width,
height: height,
);