All of ThemeData's factory constructor parameters should be required to be non-null #66060
Labels
f: material design
flutter/packages/flutter/material repository.
framework
flutter/packages/flutter repository. See also f: labels.
team-design
Owned by Design Languages team
triaged-design
Triaged by Design Languages team
Because having a few needless exceptions is confusing and likely due to historical accident not design.
Of the 73 ThemeData.raw() parameters, buttonColor, applyElevationOverlayColor, and cupertinoOverrideTheme are not required to be non-null.
The text was updated successfully, but these errors were encountered: