ThemeData class

Inheritance
Annotations
  • @immutable

Constructors

ThemeData({TextStyle? defaultTextStyle, TextStyle? paragraphStyle, TextStyle? header0, TextStyle? header1, TextStyle? header2, TextStyle? header3, TextStyle? header4, TextStyle? header5, TextStyle? bulletStyle, TextStyle? tableHeader, TextStyle? tableCell, bool? softWrap, TextAlign? textAlign, TextOverflow? overflow, int? maxLines, IconThemeData? iconTheme})
factory
ThemeData.base()
factory
ThemeData.withFont({Font? base, Font? bold, Font? italic, Font? boldItalic, Font? icons, List<Font>? fontFallback})
factory

Properties

bulletStyle TextStyle
final
defaultTextStyle TextStyle
final
hashCode int
The hash code for this object.
no setterinherited
header0 TextStyle
final
header1 TextStyle
final
header2 TextStyle
final
header3 TextStyle
final
header4 TextStyle
final
header5 TextStyle
final
iconTheme IconThemeData
final
maxLines int?
final
overflow TextOverflow
final
paragraphStyle TextStyle
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
softWrap bool
final
tableCell TextStyle
final
tableHeader TextStyle
final
textAlign TextAlign?
final

Methods

copyWith({TextStyle? defaultTextStyle, TextStyle? paragraphStyle, TextStyle? header0, TextStyle? header1, TextStyle? header2, TextStyle? header3, TextStyle? header4, TextStyle? header5, TextStyle? bulletStyle, TextStyle? tableHeader, TextStyle? tableCell, bool? softWrap, TextAlign? textAlign, int? maxLines, TextOverflow? overflow, IconThemeData? iconTheme}) ThemeData
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

buildThemeData DefaultThemeDataBuilder?
getter/setter pair