const FlipAnimation({ super.key, required this.child, required this.duration, this.repeat = true, // default value for repeat });