community_pageview_idx_data.dart 639 B

12345678910111213141516171819202122232425
  1. import 'package:riverpod_annotation/riverpod_annotation.dart';
  2. import '../garage/for_rent/for_rent_vm.dart';
  3. import '../garage/for_sale/for_sale_vm.dart';
  4. import 'following/following_vm.dart';
  5. import 'foryou/foryou_vm.dart';
  6. import 'news/news_state.dart';
  7. import 'news/news_vm.dart';
  8. class CommunityPageViewIdxData {
  9. static const int news = 0;
  10. static const int following = 1;
  11. static const int forYou = 2;
  12. static const int forSale = 3;
  13. static const int forRent = 4;
  14. static Map<int, String> get values => {
  15. 0: "news",
  16. 1: "following",
  17. 2: "forYou",
  18. 3: "forSale",
  19. 4: "forRent",
  20. };
  21. }