FlareLoading constructor
const
FlareLoading({
- Key? key,
- required String name,
- required dynamic onSuccess(
- dynamic data
- required dynamic onError(
- dynamic error,
- dynamic stacktrace
- BoxFit? fit = BoxFit.contain,
- double? width,
- double? height,
- Alignment alignment = Alignment.center,
- Future until()?,
- String? loopAnimation,
- String? endAnimation,
- String? startAnimation,
- 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);