TDButtonStyle class

TDButton按钮样式

Constructors

TDButtonStyle({Color? backgroundColor, Color? frameColor, Color? textColor, double? frameWidth})
TDButtonStyle.generateFillStyleByTheme(BuildContext context, TDButtonTheme? theme, TDButtonStatus status)
生成不同主题的填充按钮样式
TDButtonStyle.generateGhostStyleByTheme(BuildContext context, TDButtonTheme? theme, TDButtonStatus status)
生成不同主题的幽灵按钮样式
TDButtonStyle.generateOutlineStyleByTheme(BuildContext context, TDButtonTheme? theme, TDButtonStatus status)
生成不同主题的描边按钮样式
TDButtonStyle.generateTextStyleByTheme(BuildContext context, TDButtonTheme? theme, TDButtonStatus status)
生成不同主题的文本按钮样式

Properties

backgroundColor Color?
背景颜色
getter/setter pair
frameColor Color?
边框颜色
getter/setter pair
frameWidth double?
边框宽度
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textColor Color?
文字颜色
getter/setter pair

Methods

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