You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
488 B
20 lines
488 B
import 'package:flutter/material.dart';
|
|
import 'package:get/get.dart';
|
|
import '../views/translation_stats_view.dart';
|
|
import '../views/meeting_stats_view.dart';
|
|
|
|
class UsageController extends GetxController {
|
|
late PageController pageController;
|
|
final RxInt pageIndex = 0.obs;
|
|
|
|
final List<Widget> pageList = const [
|
|
TranslationStatsView(),
|
|
MeetingStatsView(),
|
|
];
|
|
|
|
@override
|
|
void onInit() {
|
|
super.onInit();
|
|
pageController = PageController(initialPage: 0);
|
|
}
|
|
}
|
|
|