init
This commit is contained in:
11
lib/services/tabbar_service.dart
Normal file
11
lib/services/tabbar_service.dart
Normal file
@@ -0,0 +1,11 @@
|
||||
import 'package:get/get.dart';
|
||||
|
||||
class TabbarService extends GetxService {
|
||||
static TabbarService get to => Get.find<TabbarService>();
|
||||
|
||||
final RxInt _index = 0.obs;
|
||||
|
||||
set index(int value) => _index.value = value;
|
||||
|
||||
int get index => _index.value;
|
||||
}
|
||||
Reference in New Issue
Block a user