import 'package:flutter/widgets.dart'; import 'package:get/get.dart'; class RankViewModel extends GetxController { final txtSearch = TextEditingController().obs; final rankDetailArr = [ { "rank": "1", "image": "assets/img/artist_pic.png", "name": "背对背拥抱", "artists": "" }, { "rank": "2", "image": "assets/img/artist_pic.png", "name": "背对背拥抱", "artists": "林俊杰" }, { "rank": "3", "image": "assets/img/artist_pic.png", "name": "背对背拥抱r", "artists": "林俊杰" }, { "rank": "4", "image": "assets/img/artist_pic.png", "name": "背对背拥抱", "artists": "林俊杰" }, { "rank": "5", "image": "assets/img/artist_pic.png", "name": "背对背拥抱", "artists": "林俊杰" }, { "rank": "6", "image": "assets/img/artist_pic.png", "name": "背对背拥抱", "artists": "林俊杰" }, { "rank": "7", "image": "assets/img/artist_pic.png", "name": "背对背拥抱", "artists": "林俊杰" }, { "rank": "8","image": "assets/img/artist_pic.png", "name": "背对背拥抱", "artists": "林俊杰" }, { "rank": "9", "image": "assets/img/artist_pic.png", "name": "背对背拥抱", "artists": "林俊杰" }, ].obs; } //.navigationViewStyle(StackNavigationViewStyle())