New UserAccountsDrawerHeader() asserts. Some of the parameters are clearly required. :) Not sure which. There are some other issues: - The backgroundImage isn't clipped to a circle, see #7289 - The header's background should default to Theme.of(context).primaryColor - If no onDetailsPressed callback is provided, leave out the details button