buildCenter method
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),
);
}