Reverts flutter/flutter#133918 as it causes build failures.
useMaterial3
ThemeData.copyWith()
textScaleFactor
TextScaler