positioned method
Add Positioned to widget
Equivalent to
Positioned(
top: top,
left: left,
bottom: bottom,
right: right
)
Implementation
Niku positioned({double? top, double? left, double? bottom, double? right}) {
_widget = Positioned(
top: top,
left: left,
bottom: bottom,
right: right,
child: _widget,
);
return this;
}