textStyles property Null safety
read / write
Implementation
static Map<String,TextStyle> textStyles = const {
'headline1': TextStyle(fontSize: 16, fontWeight: FontWeight.w400, color: Colors.white54, decoration: TextDecoration.underline),
'headline2': TextStyle(fontSize: 26, fontWeight: FontWeight.w300, color: Colors.white),
'headline3': TextStyle(fontSize: 16, fontWeight: FontWeight.w300, color: Colors.grey),
'headline4': TextStyle(fontSize: 16, fontWeight: FontWeight.w300, color: Colors.white54),
'headline5': TextStyle(fontSize: 50, color: Colors.white, fontFamily: 'Inter'),
'headline6': TextStyle(fontSize: 35, color: Colors.white, fontWeight: FontWeight.w100, fontFamily: 'Inter'),
'headline7': TextStyle(fontSize: 12, fontWeight: FontWeight.w400, color: Colors.white54),
'headline8': TextStyle(fontSize: 18, fontWeight: FontWeight.w400, color: Colors.white54),
'headline9': TextStyle(fontSize: 15, fontWeight: FontWeight.w400, color: Colors.white54),
'headlineLarge': TextStyle(fontSize: 30, color: Colors.white, fontWeight: FontWeight.w100, fontFamily: 'Inter'),
'bodyText2': TextStyle(fontSize: 30, color: Colors.white, fontWeight: FontWeight.w500, fontFamily: 'Inter'),
'bodyText1': TextStyle(fontSize: 16, fontWeight: FontWeight.w300, color: Colors.white),
'bodyText3': TextStyle(fontSize: 16, fontWeight: FontWeight.w400, color: Colors.white),
};