import 'package:get/get.dart';

class FindController extends GetxController{
  var indexChange= 0.obs;
var isMatch = false.obs;
  var isTeamNew = false.obs;



  var list2 =[
    listCate(name: 'All'),
    listCate(name: 'Football'),
    listCate(name: 'Football'),
    listCate(name: 'Volleyball'),
    listCate(name: 'Baskitball'),
    listCate(name: 'Tenis'),
    listCate(name: 'Swimming'),
    listCate(name: 'Running'),

  ];

   RxList list1 = [
    {
      'name': "TEAM",
      'club':[
        {
          "image": "https://upload.wikimedia.org/wikipedia/vi/thumb/5/5c/Chelsea_crest.svg/1200px-Chelsea_crest.svg.png",
          "nameClub" : "ManU",
          "rerigon": "England",
          "isFollow": false,
        },
        {
          "image": "https://upload.wikimedia.org/wikipedia/vi/thumb/5/5c/Chelsea_crest.svg/1200px-Chelsea_crest.svg.png",
          "nameClub" : "ManU",
          "rerigon": "England",
          "isFollow": false,
        },
        {
          "image": "https://upload.wikimedia.org/wikipedia/vi/thumb/5/5c/Chelsea_crest.svg/1200px-Chelsea_crest.svg.png",
          "nameClub" : "ManU",
          "rerigon": "England",
          "isFollow": false,
        },
        {
          "image": "https://upload.wikimedia.org/wikipedia/vi/thumb/5/5c/Chelsea_crest.svg/1200px-Chelsea_crest.svg.png",
          "nameClub" : "ManU",
          "rerigon": "England",
          "isFollow": false,
        },


      ]
    },
    {
      'name': "REGRIGON",
      'club':[
        {
          "image": "https://upload.wikimedia.org/wikipedia/vi/thumb/5/5c/Chelsea_crest.svg/1200px-Chelsea_crest.svg.png",
          "nameClub" : "ManU",
          "rerigon": "England",
          "isFollow": false,
        },
        {
          "image": "https://upload.wikimedia.org/wikipedia/vi/thumb/5/5c/Chelsea_crest.svg/1200px-Chelsea_crest.svg.png",
          "nameClub" : "ManU",
          "rerigon": "England",
          "isFollow": false,
        },
        {
          "image": "https://upload.wikimedia.org/wikipedia/vi/thumb/5/5c/Chelsea_crest.svg/1200px-Chelsea_crest.svg.png",
          "nameClub" : "ManU",
          "rerigon": "England",
          "isFollow": false,
        },
        {
          "image": "https://upload.wikimedia.org/wikipedia/vi/thumb/5/5c/Chelsea_crest.svg/1200px-Chelsea_crest.svg.png",
          "nameClub" : "ManU",
          "rerigon": "England",
          "isFollow": false,
        },


      ]
    },
    {
      'name': "PLAYER",
      'club':[
        {
          "image": "https://upload.wikimedia.org/wikipedia/vi/thumb/5/5c/Chelsea_crest.svg/1200px-Chelsea_crest.svg.png",
          "nameClub" : "ManU",
          "rerigon": "England",
          "isFollow": false,
        },
        {
          "image": "https://upload.wikimedia.org/wikipedia/vi/thumb/5/5c/Chelsea_crest.svg/1200px-Chelsea_crest.svg.png",
          "nameClub" : "ManU",
          "rerigon": "England",
          "isFollow": false,
        },
        {
          "image": "https://upload.wikimedia.org/wikipedia/vi/thumb/5/5c/Chelsea_crest.svg/1200px-Chelsea_crest.svg.png",
          "nameClub" : "ManU",
          "rerigon": "England",
          "isFollow": false,
        },
        {
          "image": "https://upload.wikimedia.org/wikipedia/vi/thumb/5/5c/Chelsea_crest.svg/1200px-Chelsea_crest.svg.png",
          "nameClub" : "ManU",
          "rerigon": "England",
          "isFollow": false,
        },


      ]
    }
  ].obs;




}
class listCate{
  String ? name;
  listCate({required this.name});
}

