second commit
This commit is contained in:
24
lib/Controller/Sucessreview/Sucessscreencontroller.dart
Normal file
24
lib/Controller/Sucessreview/Sucessscreencontroller.dart
Normal file
@@ -0,0 +1,24 @@
|
||||
import 'package:confetti/confetti.dart';
|
||||
import 'package:get/get.dart';
|
||||
|
||||
class SuccessScreenController extends GetxController{
|
||||
|
||||
late ConfettiController confettiController;
|
||||
|
||||
|
||||
|
||||
@override
|
||||
void onInit() {
|
||||
// TODO: implement onInit
|
||||
super.onInit();
|
||||
confettiController = ConfettiController(duration: const Duration(seconds: 60));
|
||||
}
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
// TODO: implement dispose
|
||||
super.dispose();
|
||||
confettiController.dispose();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user