SBoxBotBtnData class

弹窗底部按钮样式

Constructors

SBoxBotBtnData({bool isRest = true, String leftTxt = '重置', String rightTxt = '确定', Color backgroundColor = Colors.white, TextStyle leftStyle = const TextStyle(color: Colors.black87, fontSize: 16), TextStyle rightStyle = const TextStyle(color: Colors.white, fontSize: 16), BoxDecoration leftDecoration = const BoxDecoration(borderRadius: BorderRadius.all(Radius.circular(4)), gradient: LinearGradient(colors: [Color(0xffeeeeee), Color(0xfff5f5f5)])), BoxDecoration rightDecoration = const BoxDecoration(borderRadius: BorderRadius.all(Radius.circular(4)), gradient: LinearGradient(colors: [Color(0xffF56E60), Color(0xffE72410)]))})
const

Properties

backgroundColor Color
背景颜色
final
hashCode int
The hash code for this object.
no setteroverride
isRest bool
左侧按钮是否为重置(点击逻辑)
final
leftDecoration BoxDecoration
按钮装饰
final
leftStyle TextStyle
左侧样式
final
leftTxt String
左侧文字
final
rightDecoration BoxDecoration
按钮装饰
final
rightStyle TextStyle
右侧样式
final
rightTxt String
右侧文字
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Color? backgroundColor, bool? isRest, String? leftTxt, String? rightTxt, TextStyle? leftStyle, TextStyle? rightStyle, BoxDecoration? leftDecoration, BoxDecoration? rightDecoration}) SBoxBotBtnData
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 ==(covariant SBoxBotBtnData other) bool
The equality operator.
override