ButtonStatus class

Constructors

ButtonStatus({double width = 100, double height = 36, String state = '', AnimatedButtonStatus status = AnimatedButtonStatus.button, String text = 'Download', TextStyle textStyle = const TextStyle(fontSize: 16.0, color: Colors.white), Color buttonColor = Colors.blue, BorderRadius? borderRadius, BorderSide? borderSide, Gradient? gradient, List<BoxShadow>? shadows, bool isTapScale = true})
const

Properties

borderRadius BorderRadius?
final
borderSide BorderSide?
final
buttonColor Color
final
gradient Gradient?
final
hashCode int
The hash code for this object.
no setterinherited
height double
final
isTapScale bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadows List<BoxShadow>?
final
state String
final
status AnimatedButtonStatus
final
text String
final
textStyle TextStyle
final
width double
final

Methods

copyWith({double? width, double? height, String? state, AnimatedButtonStatus? status, String? text, TextStyle? textStyle, Color? buttonColor, BorderRadius? borderRadius, BorderSide? borderSide, Gradient? gradient, bool? isTapScale, bool? isTextAnim, List<BoxShadow>? shadows}) ButtonStatus
needChangeAnimation(ButtonStatus newButton) bool
是否需要改变动画参数
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

Constants

loading → const ButtonStatus