buildDrawer method

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

Implementation

@protected
Widget buildDrawer(BuildParameters params) {
  return Drawer(
    key: properties.getKey(params.id),
    elevation: tryParseDouble(params.props["elevation"]),
    backgroundColor: tryParseColor(params.props["backgroundColor"]),
    shape: params.buildProp("shape"),
    child: builder.tryBuildWidget(params.context, params.widgets["child"],
        params.state, params.parentContext),
  );
}