JJDialogLoading constructor

const JJDialogLoading({
  1. Key? key,
  2. JJDialogLoadingType type = JJDialogLoadingType.circularProgressIndicator,
  3. Widget? loading,
  4. Widget? text,
  5. Color? backgroundColor,
  6. Color? color,
  7. Animation<Color?>? valueColor,
  8. double radius = 20,
})

Implementation

const JJDialogLoading({
  Key? key,
  this.type = JJDialogLoadingType.circularProgressIndicator,

  ///custom
  this.loading,

  ///text
  this.text,
  //this.value, //因为作为加载动画,所以不提供设置该值
  this.backgroundColor,
  this.color,
  this.valueColor,
  this.radius = 20,
}) : super(key: key);