FlareLoading constructor

const FlareLoading({
  1. Key? key,
  2. required String name,
  3. required dynamic onSuccess(
    1. dynamic data
    ),
  4. required dynamic onError(
    1. dynamic error,
    2. dynamic stacktrace
    ),
  5. BoxFit? fit = BoxFit.contain,
  6. double? width,
  7. double? height,
  8. Alignment alignment = Alignment.center,
  9. Future until()?,
  10. String? loopAnimation,
  11. String? endAnimation,
  12. String? startAnimation,
  13. bool? isLoading,
})

Implementation

const FlareLoading({
  Key? key,
  required this.name,
  required this.onSuccess,
  required this.onError,
  this.fit = BoxFit.contain,
  this.width,
  this.height,
  this.alignment = Alignment.center,
  this.until,
  this.loopAnimation,
  this.endAnimation,
  this.startAnimation,
  this.isLoading,
}) : super(key: key);