22 lines
460 B
Dart
22 lines
460 B
Dart
|
import 'package:flutter/material.dart';
|
||
|
import 'package:get/get.dart';
|
||
|
|
||
|
class WorkBenchController extends GetxController {
|
||
|
late final AnimationController animationController;
|
||
|
|
||
|
@override
|
||
|
void onInit() {
|
||
|
super.onInit();
|
||
|
// animationController = AnimationController(
|
||
|
// vsync: this,
|
||
|
// duration: Duration(seconds: 2),
|
||
|
// )..forward();
|
||
|
}
|
||
|
|
||
|
@override
|
||
|
void onClose() {
|
||
|
animationController.dispose();
|
||
|
super.onClose();
|
||
|
}
|
||
|
}
|