TDLoading constructor

const TDLoading({
  1. Key? key,
  2. required TDLoadingSize size,
  3. TDLoadingIcon? icon,
  4. Color? iconColor,
  5. Axis axis = Axis.vertical,
  6. String? text,
  7. Widget? refreshWidget,
  8. Widget? customIcon,
  9. Color textColor = Colors.black,
  10. int duration = 2000,
})

Implementation

const TDLoading({
  Key? key,
  required this.size,
  this.icon,
  this.iconColor,
  this.axis = Axis.vertical,
  this.text,
  this.refreshWidget,
  this.customIcon,
  this.textColor = Colors.black,
  this.duration = 2000,
}) : super(key: key);