class CityModel extends ISuspensionBean {
String name;
String tagIndex;
String namePinyin;
CityModel({
this.name,
this.tagIndex,
this.namePinyin,
});
CityModel.fromJson(Map<String, dynamic> json) : name = json['name'];
Map<String, dynamic> toJson() => {
'name': name,
// 'tagIndex': tagIndex,
// 'namePinyin': namePinyin,
};
@override
String getSuspensionTag() => tagIndex;
@override
String toString() => json.encode(this);
}
Flutter 城市列表、联系人列表Flutter 城市列表、联系人列表,索引&悬停。基于Google scrollable_positioned_list.AzListView, SuspensionView...