ButtonProgress class abstract
- Implementers
Constructors
-
ButtonProgress({double progress = 0.0, int progressReserve = 1, ProgressType progressType = ProgressType.indeterminate, Color foreground = Colors.orange, Color background = Colors.blueAccent, bool isProgressOpacityAnim = true, TextStyle textStyle = const TextStyle(fontSize: 12, color: Colors.white), String? prefix, TextStyle? prefixStyle, String? suffix, TextStyle? suffixStyle, BorderSide? borderSide, Gradient? foregroundGradient, Gradient? backgroundGradient, List<
BoxShadow> ? shadows}) -
const
Properties
- background → Color
-
final
- backgroundGradient → Gradient?
-
final
- borderSide → BorderSide?
-
final
- foreground → Color
-
final
- foregroundGradient → Gradient?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isBoxProgress → bool
-
是否为圆形或矩形进度
no setter
- isIndeterminate → bool
-
是否是无进度类型
no setter
- isProgressOpacityAnim → bool
-
final
- prefix → String?
-
final
- prefixStyle → TextStyle?
-
final
- progress → double
-
final
- progressReserve → int
-
final
- progressType → ProgressType
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shadows
→ List<
BoxShadow> ? -
final
- suffix → String?
-
final
- suffixStyle → TextStyle?
-
final
- textStyle → TextStyle
-
final
Methods
-
needChangeAnimation(
ButtonProgress newProgress) → 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
Static Properties
- defaultProgress ↔ ButtonProgress
-
getter/setter pair