Closed
Description
Use case
Currently it is possible to set fontFamily
globally in our theme using ThemeData, but we can't do it for fontFamilyFallback
.
Proposal
Add fontFamilyFallback
property into ThemeData
.
ThemeData getAppTheme(Brightness brightness) {
final colors = brightness == Brightness.light ? colorsLight : colorsDark;
return ThemeData(
brightness: brightness,
fontFamily: AppFonts.roboto,
fontFamilyFallback: ----------------------> Needed property
scaffoldBackgroundColor: colors.background,
// ... more configurations.
);
}