TextTheme.dark constructor
TextTheme.dark({
- TextStyle title = const TextStyle(fontSize: 22, fontWeight: FontWeight.bold, color: Colors.white),
- TextStyle headlineBold = const TextStyle(fontSize: 16, fontWeight: FontWeight.bold, color: Colors.white),
- TextStyle headline = const TextStyle(fontSize: 16, fontWeight: FontWeight.w500, color: Colors.white),
- TextStyle bodyBold = const TextStyle(fontSize: 14, fontWeight: FontWeight.bold, color: Colors.white),
- TextStyle body = const TextStyle(fontSize: 14, fontWeight: FontWeight.w500, color: Colors.white),
- TextStyle footnoteBold = const TextStyle(fontSize: 12, fontWeight: FontWeight.w500, color: Colors.white),
- TextStyle footnote = const TextStyle(fontSize: 12, color: Colors.white),
Initialise with dark theme
Implementation
TextTheme.dark({
this.title = const TextStyle(
fontSize: 22,
fontWeight: FontWeight.bold,
color: Colors.white,
),
this.headlineBold = const TextStyle(
fontSize: 16,
fontWeight: FontWeight.bold,
color: Colors.white,
),
this.headline = const TextStyle(
fontSize: 16,
fontWeight: FontWeight.w500,
color: Colors.white,
),
this.bodyBold = const TextStyle(
fontSize: 14,
fontWeight: FontWeight.bold,
color: Colors.white,
),
this.body = const TextStyle(
fontSize: 14,
fontWeight: FontWeight.w500,
color: Colors.white,
),
this.footnoteBold = const TextStyle(
fontSize: 12,
fontWeight: FontWeight.w500,
color: Colors.white,
),
this.footnote = const TextStyle(
fontSize: 12,
color: Colors.white,
),
this.captionBold = const TextStyle(
fontSize: 10,
fontWeight: FontWeight.bold,
color: Colors.white,
),
});