buildCenter method

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

Implementation

@protected
Widget buildCenter(BuildParameters params) {
  return Center(
    key: properties.getKey(params.id),
    widthFactor: tryParseDouble(params.props["widthFactor"]),
    heightFactor: tryParseDouble(params.props["heightFactor"]),
    child: builder.tryBuildWidget(params.context, params.widgets["child"],
        params.state, params.parentContext),
  );
}