Clarified an assert for when a Material widget's backgroundColor is null when its type isn't MaterialType.transparency