const LoadingWidget({ Key? key, required this.child, this.duration, this.curve, this.colorGradient, }) : super(key: key);