v1.0.1
This commit is contained in:
16
lib/modules/user/subscribe/user_subscribe_controller.dart
Normal file
16
lib/modules/user/subscribe/user_subscribe_controller.dart
Normal file
@@ -0,0 +1,16 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
|
||||
class UserSubscribeController extends GetxController
|
||||
with GetSingleTickerProviderStateMixin {
|
||||
final int type;
|
||||
UserSubscribeController(this.type);
|
||||
late TabController tabController;
|
||||
|
||||
@override
|
||||
void onInit() {
|
||||
tabController = TabController(length: 2, vsync: this, initialIndex: type);
|
||||
|
||||
super.onInit();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user