ThemeData constructor
const
ThemeData({
- TextStyle defaultTextStyle = const TextStyle(fontSize: 11, color: '212121'),
- String? fontName,
- TextStyle? paragraphStyle,
- TextStyle? header0,
- TextStyle? header1,
- TextStyle? header2,
- TextStyle? header3,
- TextStyle? header4,
- TextStyle? header5,
- TextStyle tableHeader = const TextStyle(color: 'FFFFFF', fontWeight: FontWeight.bold, fontSize: 10),
- TextStyle tableCell = const TextStyle(fontSize: 10),
- TextStyle? bulletStyle,
ThemeData API.
Implementation
const ThemeData({
this.defaultTextStyle = const TextStyle(fontSize: 11, color: '212121'),
this.fontName,
this.paragraphStyle,
this.header0,
this.header1,
this.header2,
this.header3,
this.header4,
this.header5,
this.tableHeader = const TextStyle(
color: 'FFFFFF',
fontWeight: FontWeight.bold,
fontSize: 10,
),
this.tableCell = const TextStyle(fontSize: 10),
this.bulletStyle,
});