darkTextTheme property
read / write
Implementation
static TextTheme darkTextTheme = lightTextTheme.copyWith(
bodyLarge: GoogleFonts.openSans(
fontSize: 16,
fontWeight: FontWeight.w500,
color: Colors.white,
),
bodyMedium: GoogleFonts.openSans(
fontSize: 16,
color: Colors.white,
fontWeight: FontWeight.normal,
),
displayLarge: GoogleFonts.openSans(
fontSize: 28,
fontWeight: FontWeight.w600,
color: Colors.white,
),
displayMedium: GoogleFonts.openSans(
fontSize: 26,
fontWeight: FontWeight.w600,
color: Colors.white,
),
displaySmall: GoogleFonts.openSans(
fontSize: 24,
fontWeight: FontWeight.w600,
color: Colors.white,
),
headlineMedium: GoogleFonts.openSans(
fontSize: 22,
fontWeight: FontWeight.w600,
color: Colors.white,
),
headlineSmall: GoogleFonts.openSans(
fontSize: 20,
fontWeight: FontWeight.w600,
color: Colors.white,
),
titleLarge: GoogleFonts.ubuntu(
fontSize: 18,
fontWeight: FontWeight.w600,
color: Colors.white,
),
);