buildPositioned method
Implementation
@protected
Widget buildPositioned(BuildParameters params) {
final childSpec = params.widgets["child"];
final child = childSpec != null
? builder.buildWidget(params.context, params.widgets["child"],
params.state, params.parentContext)
: const SizedBox();
return Positioned(
key: properties.getKey(params.id),
left: tryParseDouble(params.buildProp("left")),
top: tryParseDouble(params.buildProp("top")),
right: tryParseDouble(params.buildProp("right")),
bottom: tryParseDouble(params.buildProp("bottom")),
width: tryParseDouble(params.buildProp("width")),
height: tryParseDouble(params.buildProp("height")),
child: child,
);
}