buildExpanded method

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

Implementation

@protected
Widget buildExpanded(BuildParameters params) {
  return Expanded(
    key: properties.getKey(params.id),
    flex: parseInt(params.props["flex"], defaultValue: 1),
    child: builder.tryBuildWidget(params.context, params.widgets["child"],
            params.state, params.parentContext) ??
        const SizedBox(),
  );
}