buildStack method

  1. @protected
Widget buildStack(
  1. BuildParameters params
)

Implementation

@protected
Widget buildStack(BuildParameters params) {
  var children = <Widget>[];
  if (params.widgets["children"] != null) {
    for (Map childSpec in params.widgets["children"] as List<Map>) {
      children.add(builder.buildWidget(
          params.context, childSpec, params.state, params.parentContext));
    }
  }

  return Stack(
    key: properties.getKey(params.id),
    alignment: params.buildProp("alignment") ?? AlignmentDirectional.topStart,
    children: children,
  );
}