CircularProgress class
环形进度条
- Inheritance
-
- Object
- ButtonProgress
- CircularProgress
Constructors
-
CircularProgress({Color? circularBackground, Gradient? circularBackgroundGradient, double size = 5, double? radius, double? ratio, bool? isArrow, BorderRadius? borderRadius, bool reverse = false, double? startAngle, double? sweepAngle, StrokeCap strokeCap = StrokeCap.round, 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
-
finalinherited
- backgroundGradient → Gradient?
-
finalinherited
- borderRadius → BorderRadius?
-
final
- borderSide → BorderSide?
-
finalinherited
- circularBackground → Color?
-
final
- circularBackgroundGradient → Gradient?
-
final
- foreground → Color
-
finalinherited
- foregroundGradient → Gradient?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isArrow → bool?
-
final
- isBoxProgress → bool
-
是否为圆形或矩形进度
no setterinherited
- isIndeterminate → bool
-
是否是无进度类型
no setterinherited
- isProgressOpacityAnim → bool
-
finalinherited
- prefix → String?
-
finalinherited
- prefixStyle → TextStyle?
-
finalinherited
- progress → double
-
finalinherited
- progressReserve → int
-
finalinherited
- progressType → ProgressType
-
finalinherited
- radius → double?
-
final
- ratio → double?
-
final
- reverse → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shadows
→ List<
BoxShadow> ? -
finalinherited
- size → double
-
final
- startAngle → double?
-
final
- strokeCap → StrokeCap
-
final
- suffix → String?
-
finalinherited
- suffixStyle → TextStyle?
-
finalinherited
- sweepAngle → double?
-
final
- textStyle → TextStyle
-
finalinherited
Methods
-
copyWith(
{double? progress, int? progressReserve, ProgressType? progressType, Color? foreground, Color? background, Color? circularBackground, bool? isProgressOpacityAnim, TextStyle? textStyle, String? prefix, TextStyle? prefixStyle, String? suffix, TextStyle? suffixStyle, double? size, BorderRadius? borderRadius, double? radius, double? ratio, bool? isArrow, bool? reverse, StrokeCap? strokeCap, double? startAngle, double? sweepAngle, BorderSide? borderSide, Gradient? circularBackgroundGradient, Gradient? foregroundGradient, Gradient? backgroundGradient, List< BoxShadow> ? shadows}) → CircularProgress -
needChangeAnimation(
ButtonProgress newProgress) → bool -
是否需要改变动画参数
override
-
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