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
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