ElTextThemeData class

Available extensions
Annotations
  • @ElModel.copy()

Constructors

ElTextThemeData({required TextStyle textStyle, required TextStyle regularStyle, required TextStyle secondaryStyle, required TextStyle placeholderStyle, required TextStyle h1Style, required TextStyle h2Style, required TextStyle h3Style, required TextStyle h4Style, required TextStyle h5Style, required TextStyle h6Style})
const

Properties

h1Style TextStyle
一级标题
final
h2Style TextStyle
二级标题
final
h3Style TextStyle
三级标题
final
h4Style TextStyle
四级标题
final
h5Style TextStyle
五级标题
final
h6Style TextStyle
六级标题
final
hashCode int
The hash code for this object.
no setteroverride
placeholderStyle TextStyle
占位文本样式
final
regularStyle TextStyle
常规文本样式
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryStyle TextStyle
次要文本样式
final
textStyle TextStyle
默认文本样式
final

Methods

copyWith({TextStyle? textStyle, TextStyle? regularStyle, TextStyle? secondaryStyle, TextStyle? placeholderStyle, TextStyle? h1Style, TextStyle? h2Style, TextStyle? h3Style, TextStyle? h4Style, TextStyle? h5Style, TextStyle? h6Style}) ElTextThemeData

Available on ElTextThemeData, provided by the ElTextThemeDataExt extension

merge([ElTextThemeData? other]) ElTextThemeData

Available on ElTextThemeData, provided by the ElTextThemeDataExt extension

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.
override

Constants

darkTheme → const ElTextThemeData
theme → const ElTextThemeData