TDDialogButtonOptions class
弹窗按钮配置
Constructors
- TDDialogButtonOptions({required String title, required dynamic action(), Color? titleColor, TDButtonStyle? style, TDButtonType? type, TDButtonTheme? theme, double? height, FontWeight? fontWeight})
Properties
- action → dynamic Function()
-
点击操作
final
- fontWeight → FontWeight?
-
字体粗细
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
按钮高度
建议使用默认高度
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → TDButtonStyle?
-
按钮样式
设置单个按钮的样式会覆盖Dialog的默认样式
final
- theme → TDButtonTheme?
-
按钮类型
final
- title → String
-
标题内容
final
- titleColor ↔ Color?
-
标题颜色
getter/setter pair
- type → TDButtonType?
-
按钮类型
final
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