18 lines
694 B
Dart
18 lines
694 B
Dart
import 'package:get/get.dart';
|
|
import 'package:traderscircuit/model/ProductsModel/call_recommendations_model.dart';
|
|
import 'package:intl/intl.dart';
|
|
|
|
class ProductsController extends GetxController {
|
|
RxBool isLoaded = true.obs;
|
|
CallRecommendationsModel swingTradeModel = CallRecommendationsModel();
|
|
CallRecommendationsModel multibaggerModel = CallRecommendationsModel();
|
|
CallRecommendationsModel optionModel = CallRecommendationsModel();
|
|
|
|
final selectedIndex = 0.obs;
|
|
String dateConverterMethod(String dateV) {
|
|
DateTime dateTime = DateTime.parse(dateV);
|
|
DateTime newDateTime = DateTime(dateTime.year, 3, 25);
|
|
return DateFormat("dd MMMM yyyy").format(newDateTime);
|
|
}
|
|
}
|