buildDrawerHeader method

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

Implementation

@protected
Widget buildDrawerHeader(BuildParameters params) {
  return DrawerHeader(
    key: properties.getKey(params.id),
    padding: params.buildProp("padding") ??
        const EdgeInsets.fromLTRB(16.0, 16.0, 16.0, 8.0),
    decoration: params.buildProp("decoration"),
    child: builder.tryBuildWidget(params.context, params.widgets["child"],
        params.state, params.parentContext),
  );
}