AntdFontDefine class

theme

Constructors

AntdFontDefine.new({required TextStyle lg, required TextStyle md, required TextStyle ms, required TextStyle sm, required TextStyle xl, required TextStyle xs, required TextStyle xxl, required TextStyle xxs})
const
AntdFontDefine.generate(double fontSize, Color textColor, TextStyle textStyle)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
lg TextStyle
16
final
md TextStyle
15
final
ms TextStyle
14
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sm TextStyle
默认字体 13
final
xl TextStyle
17
final
xs TextStyle
12
final
xxl TextStyle
18
final
xxs TextStyle
11
final

Methods

copyFrom(AntdFontDefine? source) AntdFontDefine
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