提交 457e4088 authored 作者: maodou's avatar maodou

1:订单列表搜索订单

上级 8872e6ad
......@@ -4,5 +4,5 @@ keyPassword=123456
keyAlias=zijing
storeFile=/Users/apple/zijiing_key.jks
#storeFile=zijiing_key.jks
\ No newline at end of file
#storeFile=/Users/apple/zijiing_key.jks
storeFile=zijiing_key.jks
\ No newline at end of file
......@@ -316,14 +316,19 @@ abstract class MineAPI {
int page = 1,
int limit = 10,
int status = 1,
String? keys
}) async {
final result = await HttpService.to.post(
'/v1/orders/Orders/getOrdersList',
params: {
Map<String, dynamic> params = {
'page': page,
'page_size': limit,
'status':status,
},
};
if (keys != null) {
params['keys'] = keys;
}
final result = await HttpService.to.post(
'/v1/orders/Orders/getOrdersList',
params: params,
);
if (result.data is! Map && result.data['list'] is! List) return [];
return List.generate(result.data['list'].length, (index) {
......
part of user_order;
/// 等待付款订单
class UserOrderController extends GetxController with GetTickerProviderStateMixin{
final String tag;
class UserOrderController extends GetxController
with GetTickerProviderStateMixin {
int tag;
late TabController _tabController;
// final List<OrderListModel> models;
UserOrderController(this.tag);
UserOrderController(this.tag);/*{
onRefresh();
}*/
List<Tab> tabs = [
const Tab(text: '全部',),
const Tab(text: '待付款',),
const Tab(text: '已取消',),
const Tab(text: '已完成',),
const Tab(text: '已退款',),
];
List<OrderListModel> orderList = [];
final EasyRefreshController refreshController = EasyRefreshController(
......@@ -19,6 +31,13 @@ class UserOrderController extends GetxController with GetTickerProviderStateMixi
bool _noMore = false;
@override
void onInit() {
_tabController = TabController(length: tabs.length, vsync: this);
super.onInit();
}
@override
void onReady() {
onRefresh();
......@@ -29,32 +48,21 @@ class UserOrderController extends GetxController with GetTickerProviderStateMixi
void onClose() {
searchController.dispose();
refreshController.dispose();
_tabController.dispose();
super.onClose();
}
/// 搜索书籍
void search() async {
// books = await CommonAPI.searchBooks(keyWord: searchController.text);
// _getSearchRecords();
update();
}
/// 获取订单列表
Future<void> _getOrders([bool isRefresh = false]) async {
Future<void> _getOrders({bool isRefresh = false, String keys ='',int ?tabIndex}) async {
if(tabIndex != null)tag=tabIndex;
if (isRefresh) _page = 1;
// 网路请求
final result = await MineAPI.orderList(
page: _page,
limit: _limit,
status: int.parse(tag),
);
page: _page, limit: _limit, status: _tabController.index, keys: keys);
// 如果是刷新 清理数据
if (isRefresh) orderList.clear();
orderList.addAll(result);
_page ++;
_page++;
_noMore = result.length < _limit;
// addData();
update();
......@@ -62,7 +70,7 @@ class UserOrderController extends GetxController with GetTickerProviderStateMixi
void onRefresh() async {
try {
await _getOrders(true);
await _getOrders(isRefresh:true);
refreshController.finishRefresh(IndicatorResult.success);
refreshController.resetFooter();
} catch (error) {
......@@ -83,57 +91,354 @@ class UserOrderController extends GetxController with GetTickerProviderStateMixi
}
}
void addData(){
orderList.add(OrderListModel(id:1,ordersnum: "ewrewr",totalPrice: "78.12",finalTotalPrice:'56',status: 1,payType: 1,types: 1,createTime: "2024-01-11 11:11:50",
cartList: [CartListModel(recordId: 876,orderId: 712,price: "78.12",bookId: 110,name: "老人与海",img:"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "1一想到还有9",rating: 4.5,comments: "好好好",commentId: '2'),]));
orderList.add(OrderListModel(id:1,ordersnum: "gdfaf",totalPrice: "78.12",finalTotalPrice:'67',status: 1,payType: 1,types: 1,createTime: "2024-01-11 11:11:50",
cartList: [CartListModel(recordId: 876,orderId: 712,price: "78.12",bookId: 110,name: "老人与海",img:"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "一想到还有95%的问题留给人类,我就放一想到还有95%的问题留给问题留给",rating: 4.5,comments: "好好好",commentId: '2'),
CartListModel(recordId: 876,orderId: 712,price: "78.12",bookId: 110,name: "老人与海",img:"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "一想到还有95%的问题留给人类,我就放一想到还有95%的问题留给问题留给",rating: 4.5,comments: "好好好",commentId: '2'),
CartListModel(recordId: 876,orderId: 712,price: "78.12",bookId: 110,name: "老人与海",img:"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "一想到还有95%的问题留给人类,我就放一想到还有95%的问题留给问题留给",rating: 4.5,comments: "好好好",commentId: '2'),
CartListModel(recordId: 876,orderId: 712,price: "78.12",bookId: 110,name: "老人与海",img:"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "一想到还有95%的问题留给人类,我就放一想到还有95%的问题留给问题留给",rating: 4.5,comments: "好好好",commentId: '2'),]));
orderList.add(OrderListModel(id:1,ordersnum: "ehfghgfh",totalPrice: "123.2",finalTotalPrice:'80',status: 2,payType: 1,types: 1,createTime: "2024-01-11 11:11:50",
cartList: [CartListModel(recordId: 876,orderId: 712,price: "78.12",bookId: 110,name: "老人与海",img:"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "2一想到还有95%的一想到",rating: 4.5,comments: "好好好",commentId: '2'),]));
orderList.add(OrderListModel(id:1,ordersnum: "234324234dfds",totalPrice: "452.3",finalTotalPrice:'352.3',status: 2,payType: 1,types: 1,createTime: "2024-01-11 11:11:50",
cartList: [CartListModel(recordId: 876,orderId: 712,price: "78.12",bookId: 110,name: "老人与海",img:"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",rating: 4.5,comments: "好好好",commentId: '2'),
CartListModel(recordId: 876,orderId: 712,price: "78.12",bookId: 110,name: "老人与海",img:"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",rating: 4.5,comments: "好好好",commentId: '2'),
CartListModel(recordId: 876,orderId: 712,price: "78.12",bookId: 110,name: "老人与海",img:"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",rating: 4.5,comments: "好好好",commentId: '2'),
CartListModel(recordId: 876,orderId: 712,price: "78.12",bookId: 110,name: "老人与海",img:"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",rating: 4.5,comments: "好好好",commentId: '2'),]));
orderList.add(OrderListModel(id:1,ordersnum: "vbrth54",totalPrice: "25.3",finalTotalPrice:'24',status: 3,payType: 1,types: 1,createTime: "2024-01-11 11:11:50",
cartList: [CartListModel(recordId: 876,orderId: 712,price: "78.12",bookId: 110,name: "老人与海",img:"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "3一想到还有95%的想到还有95%的问题留给人类,我就放一想到还有95%的问题留给问题留给",rating: 4.5,comments: "好好好",commentId: '2'),]));
orderList.add(OrderListModel(id:1,ordersnum: "vbrty65ygfs",totalPrice: "32.5",finalTotalPrice:'31.2',status: 3,payType: 1,types: 1,createTime: "2024-01-11 11:11:50",
cartList: [CartListModel(recordId: 876,orderId: 712,price: "78.12",bookId: 110,name: "老人与海",img:"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",rating: 4.5,comments: "好好好",commentId: '2'),
CartListModel(recordId: 876,orderId: 712,price: "78.12",bookId: 110,name: "老人与海",img:"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",rating: 4.5,comments: "好好好",commentId: '2'),
CartListModel(recordId: 876,orderId: 712,price: "78.12",bookId: 110,name: "老人与海",img:"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",rating: 4.5,comments: "好好好",commentId: '2'),
CartListModel(recordId: 876,orderId: 712,price: "78.12",bookId: 110,name: "老人与海",img:"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",rating: 4.5,comments: "好好好",commentId: '2'),]));
orderList.add(OrderListModel(id:1,ordersnum: "3sdfdfg",totalPrice: "45.8",finalTotalPrice:'42',status: 4,payType: 1,types: 1,createTime: "2024-01-11 11:11:50",
cartList: [CartListModel(recordId: 876,orderId: 712,price: "78.12",bookId: 110,name: "老人与海",img:"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "4一想到还有95%的问题到还有95%的问题留给人类,我就放一想到还有95%的问题留给问题留给",rating: 4.5,comments: "好好好",commentId: '2'),]));
orderList.add(OrderListModel(id:1,ordersnum: "gh45fdg",totalPrice: "99.9",finalTotalPrice:'88.78',status: 4,payType: 1,types: 1,createTime: "2024-01-11 11:11:50",
cartList: [CartListModel(recordId: 876,orderId: 712,price: "78.12",bookId: 110,name: "老人与海",img:"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",rating: 4.5,comments: "好好好",commentId: '2'),
CartListModel(recordId: 876,orderId: 712,price: "78.12",bookId: 110,name: "老人与海",img:"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",rating: 4.5,comments: "好好好",commentId: '2'),
CartListModel(recordId: 876,orderId: 712,price: "78.12",bookId: 110,name: "老人与海",img:"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",rating: 4.5,comments: "好好好",commentId: '2'),
CartListModel(recordId: 876,orderId: 712,price: "78.12",bookId: 110,name: "老人与海",img:"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",rating: 4.5,comments: "好好好",commentId: '2'),
CartListModel(recordId: 876,orderId: 712,price: "78.12",bookId: 110,name: "老人与海",img:"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",rating: 4.5,comments: "好好好",commentId: '2'),]));
orderList.add(OrderListModel(ordersnum: "aeewar34r",finalTotalPrice:'80',status: 3,payType: 1,types: 2,createTime: "2024-01-11 11:11:50",));
void addData() {
orderList.add(OrderListModel(
id: 1,
ordersnum: "ewrewr",
totalPrice: "78.12",
finalTotalPrice: '56',
status: 1,
payType: 1,
types: 1,
createTime: "2024-01-11 11:11:50",
cartList: [
CartListModel(
recordId: 876,
orderId: 712,
price: "78.12",
bookId: 110,
name: "老人与海",
img:
"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "1一想到还有9",
rating: 4.5,
comments: "好好好",
commentId: '2'),
]));
orderList.add(OrderListModel(
id: 1,
ordersnum: "gdfaf",
totalPrice: "78.12",
finalTotalPrice: '67',
status: 1,
payType: 1,
types: 1,
createTime: "2024-01-11 11:11:50",
cartList: [
CartListModel(
recordId: 876,
orderId: 712,
price: "78.12",
bookId: 110,
name: "老人与海",
img:
"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "一想到还有95%的问题留给人类,我就放一想到还有95%的问题留给问题留给",
rating: 4.5,
comments: "好好好",
commentId: '2'),
CartListModel(
recordId: 876,
orderId: 712,
price: "78.12",
bookId: 110,
name: "老人与海",
img:
"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "一想到还有95%的问题留给人类,我就放一想到还有95%的问题留给问题留给",
rating: 4.5,
comments: "好好好",
commentId: '2'),
CartListModel(
recordId: 876,
orderId: 712,
price: "78.12",
bookId: 110,
name: "老人与海",
img:
"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "一想到还有95%的问题留给人类,我就放一想到还有95%的问题留给问题留给",
rating: 4.5,
comments: "好好好",
commentId: '2'),
CartListModel(
recordId: 876,
orderId: 712,
price: "78.12",
bookId: 110,
name: "老人与海",
img:
"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "一想到还有95%的问题留给人类,我就放一想到还有95%的问题留给问题留给",
rating: 4.5,
comments: "好好好",
commentId: '2'),
]));
orderList.add(OrderListModel(
id: 1,
ordersnum: "ehfghgfh",
totalPrice: "123.2",
finalTotalPrice: '80',
status: 2,
payType: 1,
types: 1,
createTime: "2024-01-11 11:11:50",
cartList: [
CartListModel(
recordId: 876,
orderId: 712,
price: "78.12",
bookId: 110,
name: "老人与海",
img:
"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "2一想到还有95%的一想到",
rating: 4.5,
comments: "好好好",
commentId: '2'),
]));
orderList.add(OrderListModel(
id: 1,
ordersnum: "234324234dfds",
totalPrice: "452.3",
finalTotalPrice: '352.3',
status: 2,
payType: 1,
types: 1,
createTime: "2024-01-11 11:11:50",
cartList: [
CartListModel(
recordId: 876,
orderId: 712,
price: "78.12",
bookId: 110,
name: "老人与海",
img:
"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",
rating: 4.5,
comments: "好好好",
commentId: '2'),
CartListModel(
recordId: 876,
orderId: 712,
price: "78.12",
bookId: 110,
name: "老人与海",
img:
"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",
rating: 4.5,
comments: "好好好",
commentId: '2'),
CartListModel(
recordId: 876,
orderId: 712,
price: "78.12",
bookId: 110,
name: "老人与海",
img:
"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",
rating: 4.5,
comments: "好好好",
commentId: '2'),
CartListModel(
recordId: 876,
orderId: 712,
price: "78.12",
bookId: 110,
name: "老人与海",
img:
"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",
rating: 4.5,
comments: "好好好",
commentId: '2'),
]));
orderList.add(OrderListModel(
id: 1,
ordersnum: "vbrth54",
totalPrice: "25.3",
finalTotalPrice: '24',
status: 3,
payType: 1,
types: 1,
createTime: "2024-01-11 11:11:50",
cartList: [
CartListModel(
recordId: 876,
orderId: 712,
price: "78.12",
bookId: 110,
name: "老人与海",
img:
"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "3一想到还有95%的想到还有95%的问题留给人类,我就放一想到还有95%的问题留给问题留给",
rating: 4.5,
comments: "好好好",
commentId: '2'),
]));
orderList.add(OrderListModel(
id: 1,
ordersnum: "vbrty65ygfs",
totalPrice: "32.5",
finalTotalPrice: '31.2',
status: 3,
payType: 1,
types: 1,
createTime: "2024-01-11 11:11:50",
cartList: [
CartListModel(
recordId: 876,
orderId: 712,
price: "78.12",
bookId: 110,
name: "老人与海",
img:
"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",
rating: 4.5,
comments: "好好好",
commentId: '2'),
CartListModel(
recordId: 876,
orderId: 712,
price: "78.12",
bookId: 110,
name: "老人与海",
img:
"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",
rating: 4.5,
comments: "好好好",
commentId: '2'),
CartListModel(
recordId: 876,
orderId: 712,
price: "78.12",
bookId: 110,
name: "老人与海",
img:
"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",
rating: 4.5,
comments: "好好好",
commentId: '2'),
CartListModel(
recordId: 876,
orderId: 712,
price: "78.12",
bookId: 110,
name: "老人与海",
img:
"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",
rating: 4.5,
comments: "好好好",
commentId: '2'),
]));
orderList.add(OrderListModel(
id: 1,
ordersnum: "3sdfdfg",
totalPrice: "45.8",
finalTotalPrice: '42',
status: 4,
payType: 1,
types: 1,
createTime: "2024-01-11 11:11:50",
cartList: [
CartListModel(
recordId: 876,
orderId: 712,
price: "78.12",
bookId: 110,
name: "老人与海",
img:
"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "4一想到还有95%的问题到还有95%的问题留给人类,我就放一想到还有95%的问题留给问题留给",
rating: 4.5,
comments: "好好好",
commentId: '2'),
]));
orderList.add(OrderListModel(
id: 1,
ordersnum: "gh45fdg",
totalPrice: "99.9",
finalTotalPrice: '88.78',
status: 4,
payType: 1,
types: 1,
createTime: "2024-01-11 11:11:50",
cartList: [
CartListModel(
recordId: 876,
orderId: 712,
price: "78.12",
bookId: 110,
name: "老人与海",
img:
"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",
rating: 4.5,
comments: "好好好",
commentId: '2'),
CartListModel(
recordId: 876,
orderId: 712,
price: "78.12",
bookId: 110,
name: "老人与海",
img:
"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",
rating: 4.5,
comments: "好好好",
commentId: '2'),
CartListModel(
recordId: 876,
orderId: 712,
price: "78.12",
bookId: 110,
name: "老人与海",
img:
"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",
rating: 4.5,
comments: "好好好",
commentId: '2'),
CartListModel(
recordId: 876,
orderId: 712,
price: "78.12",
bookId: 110,
name: "老人与海",
img:
"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",
rating: 4.5,
comments: "好好好",
commentId: '2'),
CartListModel(
recordId: 876,
orderId: 712,
price: "78.12",
bookId: 110,
name: "老人与海",
img:
"http://zxts-user-file.oss-cn-beijing.aliyuncs.com/2024-01/20/eb167c2f59f7e34c0ef94a9f1ce736ee64d76a11.jpg",
introduction: "这是一本书",
rating: 4.5,
comments: "好好好",
commentId: '2'),
]));
orderList.add(OrderListModel(
ordersnum: "aeewar34r",
finalTotalPrice: '80',
status: 3,
payType: 1,
types: 2,
createTime: "2024-01-11 11:11:50",
));
}
}
part of user_order;
class UserOrderPage extends StatefulWidget {
const UserOrderPage({
Key? key /*, required this.userInfo*/}) :
super(key: key);
const UserOrderPage({Key? key /*, required this.userInfo*/
})
: super(key: key);
@override
State<UserOrderPage> createState() => _UserOrderState();
}
int tab = 0;
class _UserOrderState extends State<UserOrderPage> {
/* late num? selectedGender ; // 选中的性别
@override
......@@ -17,18 +19,11 @@ class _UserOrderState extends State<UserOrderPage> {
selectedGender = widget.userInfo.sex;
// 在这里可以使用 localVariable 进行操作
}*/
List<Tab> tabs = [
const Tab(text: '全部',),
const Tab(text: '待付款',),
const Tab(text: '已取消',),
const Tab(text: '已完成',),
const Tab(text: '已退款',),
];
@override
Widget build(BuildContext context) {
return GetBuilder<UserOrderController>(
init: UserOrderController(tabs[0].toString()),
init: UserOrderController(tab),
builder: (controller) => Scaffold(
appBar: CustomAppBar(
automaticallyImplyLeading: false,
......@@ -43,7 +38,10 @@ class _UserOrderState extends State<UserOrderPage> {
// context.pushNamed(Routes.msgs);
},
onEditingComplete: () {
controller.search();
controller._getOrders(
isRefresh: true,
keys: controller.searchController.text,
tabIndex: controller._tabController.index);
// FocusScope.of(context).unfocus();
FocusNode blankNode = FocusNode();
FocusScope.of(context).requestFocus(blankNode); //指定为空白焦点
......@@ -71,14 +69,15 @@ class _UserOrderState extends State<UserOrderPage> {
);
}
Widget _buildBody(UserOrderController controller){
Widget _buildBody(UserOrderController controller) {
return DefaultTabController(
length: tabs.length,
length: controller.tabs.length,
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
ClipRRect(
borderRadius:const BorderRadius.only(topLeft: Radius.circular(5),topRight: Radius.circular(5)),
borderRadius: const BorderRadius.only(
topLeft: Radius.circular(5), topRight: Radius.circular(5)),
child: Container(
width: double.infinity,
color: Colors.white,
......@@ -86,33 +85,40 @@ class _UserOrderState extends State<UserOrderPage> {
child: TabBar(
indicator: UnderlineTabIndicator(
borderRadius: BorderRadius.circular(0.75),
borderSide: BorderSide(width: 1.5.w,color: AppTheme.primary),
insets: EdgeInsets.symmetric(horizontal: 22.w), // 设置标签下面指示器的水平内边距
borderSide:
BorderSide(width: 1.5.w, color: AppTheme.primary),
insets: EdgeInsets.symmetric(
horizontal:24.w), // 设置标签下面指示器的水平内边距
),
labelPadding: EdgeInsets.symmetric(horizontal: 20.w),
labelPadding: EdgeInsets.symmetric(horizontal: 15.w),
indicatorSize: TabBarIndicatorSize.label,
indicatorColor: AppTheme.primary,
indicatorWeight: 1.5,
labelStyle: TextStyle(color: AppTheme.primary,fontSize: 15.w,height: 1.5,fontWeight: Fonts.medium),
labelStyle: TextStyle(
color: AppTheme.primary,
fontSize: 15.w,
height: 1.5,
fontWeight: Fonts.medium),
unselectedLabelColor: Colours.c9,
unselectedLabelStyle: TextStyle(color: Colours.c9,fontSize: 15.w,height: 1.5),
unselectedLabelStyle: TextStyle(
color: Colours.c9, fontSize: 15.w, height: 1.5),
isScrollable: true,
tabs: tabs
),
controller: controller._tabController,
tabs: controller.tabs),
),
),
Expanded(
child: TabBarView(
children: List.generate(tabs.length, (index){
return BuildListPage(tag:'$index',models:controller.orderList,context: context,);
})
),
controller: controller._tabController,
children: List.generate(controller.tabs.length, (index) {
tab = index;
return BuildListPage(
tag:
tab, models:controller.orderList,controller: controller,/*,context: context,*/
);
})),
)
],
)
);
));
}
}
part of user_order;
class BuildListPage extends StatefulWidget {
final String tag;
final int tag;
final List<OrderListModel> models;
final BuildContext context;
final UserOrderController controller;
// final BuildContext context;
const BuildListPage({
Key? key,
required this.tag,
required this.models,
required this.context,
required this.controller,
// required this.context,
}) : super(key: key);
@override
......@@ -20,15 +22,17 @@ class _BuildListPageState extends State<BuildListPage>
with AutomaticKeepAliveClientMixin {
@override
Widget build(BuildContext context) {
return GetBuilder<UserOrderController>(
tag: widget.tag,
/* return GetBuilder<UserOrderController>(
tag: widget.tag.toString(),
init: UserOrderController(widget.tag),
builder: (controller) => CustomPullScrollView(
controller: controller.refreshController,
onRefresh: controller.onRefresh,
onLoading: controller.onLoading,
child: ListView.builder(
itemBuilder: (BuildContext context, int index) {
OrderListModel model = controller.orderList[index];
// OrderListModel model = widget.models[index];
if (model.types == 2) {
return BuiltCoin(model: model,);
} else {
......@@ -44,8 +48,36 @@ class _BuildListPageState extends State<BuildListPage>
}
},
itemCount: controller.orderList.length,
// itemCount: widget.models.length,
),
),
);*/
return CustomPullScrollView(
controller: widget.controller.refreshController,
onRefresh: widget.controller.onRefresh,
onLoading: widget.controller.onLoading,
child: ListView.builder(
itemBuilder: (BuildContext context, int index) {
OrderListModel model = widget.controller.orderList[index];
// OrderListModel model = widget.models[index];
if (model.types == 2) {
return BuiltCoin(model: model,);
} else {
if (model.status == 1) {
return BuiltAwaiting(model: model,);
} else if (model.status == 2) {
return BuiltCanceled(model: model,);
} else if (model.status == 3) {
return BuiltCompleted(model: model,);
} else if (model.status == 4) {
return BuiltRefunded(model: model,);
}
}
},
itemCount: widget.controller.orderList.length,
// itemCount: widget.models.length,
),
);
}
......
......@@ -6,7 +6,7 @@ packages:
description:
name: async
sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.11.0"
audio_session:
......@@ -14,7 +14,7 @@ packages:
description:
name: audio_session
sha256: "6fdf255ed3af86535c96452c33ecff1245990bb25a605bfb1958661ccc3d467f"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "0.1.18"
azlistview:
......@@ -22,7 +22,7 @@ packages:
description:
name: azlistview
sha256: "93e865f11777a271b439f0d6b00799c0797e9daeec2e082a2e01373809c4b90d"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.0.0"
badges:
......@@ -30,7 +30,7 @@ packages:
description:
name: badges
sha256: a7b6bbd60dce418df0db3058b53f9d083c22cdb5132a052145dc267494df0b84
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "3.1.2"
boolean_selector:
......@@ -38,7 +38,7 @@ packages:
description:
name: boolean_selector
sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.1.1"
carousel_slider:
......@@ -46,7 +46,7 @@ packages:
description:
name: carousel_slider
sha256: "9c695cc963bf1d04a47bd6021f68befce8970bcd61d24938e1fb0918cf5d9c42"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "4.2.1"
characters:
......@@ -54,7 +54,7 @@ packages:
description:
name: characters
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "1.3.0"
clock:
......@@ -62,7 +62,7 @@ packages:
description:
name: clock
sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "1.1.1"
collection:
......@@ -70,7 +70,7 @@ packages:
description:
name: collection
sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "1.17.1"
convert:
......@@ -78,7 +78,7 @@ packages:
description:
name: convert
sha256: f08428ad63615f96a27e34221c65e1a451439b5f26030f78d790f461c686d65d
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "3.0.1"
cross_file:
......@@ -86,7 +86,7 @@ packages:
description:
name: cross_file
sha256: "2f9d2cbccb76127ba28528cb3ae2c2326a122446a83de5a056aaa3880d3882c5"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "0.3.3+7"
crypto:
......@@ -94,7 +94,7 @@ packages:
description:
name: crypto
sha256: ff625774173754681d66daaf4a448684fb04b78f902da9cb3d308c19cc5e8bab
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "3.0.3"
cupertino_icons:
......@@ -102,7 +102,7 @@ packages:
description:
name: cupertino_icons
sha256: d57953e10f9f8327ce64a508a355f0b1ec902193f66288e8cb5070e7c47eeb2d
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "1.0.6"
decimal:
......@@ -110,7 +110,7 @@ packages:
description:
name: decimal
sha256: "24a261d5d5c87e86c7651c417a5dbdf8bcd7080dd592533910e8d0505a279f21"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.3.3"
dio:
......@@ -118,7 +118,7 @@ packages:
description:
name: dio
sha256: "417e2a6f9d83ab396ec38ff4ea5da6c254da71e4db765ad737a42af6930140b7"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "5.3.3"
easy_refresh:
......@@ -126,7 +126,7 @@ packages:
description:
name: easy_refresh
sha256: "77b025ea49f27b5ebc5eef40a6678be52564c293bd97ce91a4088d6646478329"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "3.3.2+1"
extended_image:
......@@ -134,7 +134,7 @@ packages:
description:
name: extended_image
sha256: e77d18f956649ba6e5ecebd0cb68542120886336a75ee673788145bd4c3f0767
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "8.0.2"
extended_image_library:
......@@ -142,7 +142,7 @@ packages:
description:
name: extended_image_library
sha256: bb8d08c504ebc73d476ec1c99451a61f12e95538869e734fc4f55a3a2d5c98ec
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "3.5.3"
fake_async:
......@@ -150,7 +150,7 @@ packages:
description:
name: fake_async
sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "1.3.1"
ffi:
......@@ -158,7 +158,7 @@ packages:
description:
name: ffi
sha256: "7bf0adc28a23d395f19f3f1eb21dd7cfd1dd9f8e1c50051c069122e6853bc878"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.1.0"
file:
......@@ -166,7 +166,7 @@ packages:
description:
name: file
sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "7.0.0"
flutter:
......@@ -179,7 +179,7 @@ packages:
description:
name: flutter_app_update
sha256: "2202e6e6d49eacc571304e5a6a5404f893382b492029d01d33b3bfb9af1c2f25"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "3.0.4"
flutter_easyloading:
......@@ -187,7 +187,7 @@ packages:
description:
name: flutter_easyloading
sha256: ba21a3c883544e582f9cc455a4a0907556714e1e9cf0eababfcb600da191d17c
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "3.0.5"
flutter_inappwebview:
......@@ -195,7 +195,7 @@ packages:
description:
name: flutter_inappwebview
sha256: d198297060d116b94048301ee6749cd2e7d03c1f2689783f52d210a6b7aba350
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "5.8.0"
flutter_lints:
......@@ -203,7 +203,7 @@ packages:
description:
name: flutter_lints
sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.0.3"
flutter_localizations:
......@@ -216,7 +216,7 @@ packages:
description:
name: flutter_plugin_android_lifecycle
sha256: b068ffc46f82a55844acfa4fdbb61fad72fa2aef0905548419d97f0f95c456da
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.0.17"
flutter_screenutil:
......@@ -224,7 +224,7 @@ packages:
description:
name: flutter_screenutil
sha256: b3e155ee4f2cf5b21a2e15182d1c49c848147ed47f62083fc9a9beccb85f59f9
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "5.8.2"
flutter_slidable:
......@@ -232,7 +232,7 @@ packages:
description:
name: flutter_slidable
sha256: "19ed4813003a6ff4e9c6bcce37e792a2a358919d7603b2b31ff200229191e44c"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "3.0.1"
flutter_sound:
......@@ -240,7 +240,7 @@ packages:
description:
name: flutter_sound
sha256: "090a4694b11ecc744c2010621c4ffc5fe7c3079d304ea014961a72c7b72cfe6c"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "9.2.13"
flutter_sound_platform_interface:
......@@ -248,7 +248,7 @@ packages:
description:
name: flutter_sound_platform_interface
sha256: "4537eaeb58a32748c42b621ad6116f7f4c6ee0a8d6ffaa501b165fe1c9df4753"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "9.2.13"
flutter_sound_web:
......@@ -256,7 +256,7 @@ packages:
description:
name: flutter_sound_web
sha256: ad4ca92671a1879e1f613e900bbbdb8170b20d57d1e4e6363018fe56b055594f
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "9.2.13"
flutter_spinkit:
......@@ -264,7 +264,7 @@ packages:
description:
name: flutter_spinkit
sha256: b39c753e909d4796906c5696a14daf33639a76e017136c8d82bf3e620ce5bb8e
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "5.2.0"
flutter_star:
......@@ -272,7 +272,7 @@ packages:
description:
name: flutter_star
sha256: "7dc10b8b3667ace2aa575a37ea0c00558a7514019cfe7e76322573d85b72a472"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "1.2.0"
flutter_test:
......@@ -285,7 +285,7 @@ packages:
description:
name: flutter_tts
sha256: cbb3fd43b946e62398560235469e6113e4fe26c40eab1b7cb5e7c417503fb3a8
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "3.8.5"
flutter_web_plugins:
......@@ -298,7 +298,7 @@ packages:
description:
name: fluwx
sha256: "7a1596e8fad1b2191cf62f4cc80f3c63c01306bd6d8fa4f5c815f5e309da1dba"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "4.4.9"
get:
......@@ -306,7 +306,7 @@ packages:
description:
name: get
sha256: "2ba20a47c8f1f233bed775ba2dd0d3ac97b4cf32fc17731b3dfc672b06b0e92a"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "4.6.5"
go_router:
......@@ -314,7 +314,7 @@ packages:
description:
name: go_router
sha256: "2aa884667eeda3a1c461f31e72af1f77984ab0f29450d8fb12ec1f7bc53eea14"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "10.1.0"
http:
......@@ -322,7 +322,7 @@ packages:
description:
name: http
sha256: "759d1a329847dd0f39226c688d3e06a6b8679668e350e2891a6474f8b4bb8525"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "1.1.0"
http_client_helper:
......@@ -330,7 +330,7 @@ packages:
description:
name: http_client_helper
sha256: "8a9127650734da86b5c73760de2b404494c968a3fd55602045ffec789dac3cb1"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "3.0.0"
http_parser:
......@@ -338,7 +338,7 @@ packages:
description:
name: http_parser
sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "4.0.2"
image_picker:
......@@ -346,7 +346,7 @@ packages:
description:
name: image_picker
sha256: "9978d3510af4e6a902e545ce19229b926e6de6a1828d6134d3aab2e129a4d270"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "0.8.7+5"
image_picker_android:
......@@ -354,7 +354,7 @@ packages:
description:
name: image_picker_android
sha256: "39f2bfe497e495450c81abcd44b62f56c2a36a37a175da7d137b4454977b51b1"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "0.8.9+3"
image_picker_for_web:
......@@ -362,7 +362,7 @@ packages:
description:
name: image_picker_for_web
sha256: "869fe8a64771b7afbc99fc433a5f7be2fea4d1cb3d7c11a48b6b579eb9c797f0"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.2.0"
image_picker_ios:
......@@ -370,7 +370,7 @@ packages:
description:
name: image_picker_ios
sha256: fadafce49e8569257a0cad56d24438a6fa1f0cbd7ee0af9b631f7492818a4ca3
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "0.8.9+1"
image_picker_platform_interface:
......@@ -378,7 +378,7 @@ packages:
description:
name: image_picker_platform_interface
sha256: fa4e815e6fcada50e35718727d83ba1c92f1edf95c0b4436554cec301b56233b
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.9.3"
intl:
......@@ -386,7 +386,7 @@ packages:
description:
name: intl
sha256: a3715e3bc90294e971cb7dc063fbf3cd9ee0ebf8604ffeafabd9e6f16abbdbe6
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "0.18.0"
ionicons:
......@@ -394,7 +394,7 @@ packages:
description:
name: ionicons
sha256: "5496bc65a16115ecf05b15b78f494ee4a8869504357668f0a11d689e970523cf"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "0.2.2"
js:
......@@ -402,7 +402,7 @@ packages:
description:
name: js
sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "0.6.7"
lints:
......@@ -410,7 +410,7 @@ packages:
description:
name: lints
sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.1.1"
logger:
......@@ -418,7 +418,7 @@ packages:
description:
name: logger
sha256: db2ff852ed77090ba9f62d3611e4208a3d11dfa35991a81ae724c113fcb3e3f7
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "1.3.0"
logging:
......@@ -426,7 +426,7 @@ packages:
description:
name: logging
sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "1.2.0"
matcher:
......@@ -434,7 +434,7 @@ packages:
description:
name: matcher
sha256: "6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "0.12.15"
material_color_utilities:
......@@ -442,7 +442,7 @@ packages:
description:
name: material_color_utilities
sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "0.2.0"
meta:
......@@ -450,7 +450,7 @@ packages:
description:
name: meta
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "1.9.1"
mime:
......@@ -458,7 +458,7 @@ packages:
description:
name: mime
sha256: e4ff8e8564c03f255408decd16e7899da1733852a9110a58fe6d1b817684a63e
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "1.0.4"
nested:
......@@ -466,7 +466,7 @@ packages:
description:
name: nested
sha256: "03bac4c528c64c95c722ec99280375a6f2fc708eec17c7b3f07253b626cd2a20"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "1.0.0"
oktoast:
......@@ -474,7 +474,7 @@ packages:
description:
name: oktoast
sha256: f1366c5c793ddfb8f55bc6fc3e45db43c45debf173b765fb4c5ec096cbdeb84a
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "3.4.0"
package_info_plus:
......@@ -482,7 +482,7 @@ packages:
description:
name: package_info_plus
sha256: "7e76fad405b3e4016cd39d08f455a4eb5199723cf594cd1b8916d47140d93017"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "4.2.0"
package_info_plus_platform_interface:
......@@ -490,7 +490,7 @@ packages:
description:
name: package_info_plus_platform_interface
sha256: "9bc8ba46813a4cc42c66ab781470711781940780fd8beddd0c3da62506d3a6c6"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.0.1"
path:
......@@ -498,7 +498,7 @@ packages:
description:
name: path
sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "1.8.3"
path_drawing:
......@@ -506,7 +506,7 @@ packages:
description:
name: path_drawing
sha256: bbb1934c0cbb03091af082a6389ca2080345291ef07a5fa6d6e078ba8682f977
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "1.0.1"
path_parsing:
......@@ -514,7 +514,7 @@ packages:
description:
name: path_parsing
sha256: e3e67b1629e6f7e8100b367d3db6ba6af4b1f0bb80f64db18ef1fbabd2fa9ccf
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "1.0.1"
path_provider:
......@@ -522,7 +522,7 @@ packages:
description:
name: path_provider
sha256: b27217933eeeba8ff24845c34003b003b2b22151de3c908d0e679e8fe1aa078b
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.1.2"
path_provider_android:
......@@ -530,7 +530,7 @@ packages:
description:
name: path_provider_android
sha256: "477184d672607c0a3bf68fbbf601805f92ef79c82b64b4d6eb318cbca4c48668"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.2.2"
path_provider_foundation:
......@@ -538,7 +538,7 @@ packages:
description:
name: path_provider_foundation
sha256: "5a7999be66e000916500be4f15a3633ebceb8302719b47b9cc49ce924125350f"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.3.2"
path_provider_linux:
......@@ -546,7 +546,7 @@ packages:
description:
name: path_provider_linux
sha256: f7a1fe3a634fe7734c8d3f2766ad746ae2a2884abe22e241a8b301bf5cac3279
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.2.1"
path_provider_platform_interface:
......@@ -554,7 +554,7 @@ packages:
description:
name: path_provider_platform_interface
sha256: "88f5779f72ba699763fa3a3b06aa4bf6de76c8e5de842cf6f29e2e06476c2334"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.1.2"
path_provider_windows:
......@@ -562,7 +562,7 @@ packages:
description:
name: path_provider_windows
sha256: "8bc9f22eee8690981c22aa7fc602f5c85b497a6fb2ceb35ee5a5e5ed85ad8170"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.2.1"
permission_handler:
......@@ -570,7 +570,7 @@ packages:
description:
name: permission_handler
sha256: "284a66179cabdf942f838543e10413246f06424d960c92ba95c84439154fcac8"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "11.0.1"
permission_handler_android:
......@@ -578,7 +578,7 @@ packages:
description:
name: permission_handler_android
sha256: f9fddd3b46109bd69ff3f9efa5006d2d309b7aec0f3c1c5637a60a2d5659e76e
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "11.1.0"
permission_handler_apple:
......@@ -586,7 +586,7 @@ packages:
description:
name: permission_handler_apple
sha256: "99e220bce3f8877c78e4ace901082fb29fa1b4ebde529ad0932d8d664b34f3f5"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "9.1.4"
permission_handler_platform_interface:
......@@ -594,7 +594,7 @@ packages:
description:
name: permission_handler_platform_interface
sha256: "6760eb5ef34589224771010805bea6054ad28453906936f843a8cc4d3a55c4a4"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "3.12.0"
permission_handler_windows:
......@@ -602,7 +602,7 @@ packages:
description:
name: permission_handler_windows
sha256: cc074aace208760f1eee6aa4fae766b45d947df85bc831cde77009cdb4720098
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "0.1.3"
platform:
......@@ -610,7 +610,7 @@ packages:
description:
name: platform
sha256: "12220bb4b65720483f8fa9450b4332347737cf8213dd2840d8b2c823e47243ec"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "3.1.4"
plugin_platform_interface:
......@@ -618,7 +618,7 @@ packages:
description:
name: plugin_platform_interface
sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.1.8"
provider:
......@@ -626,7 +626,7 @@ packages:
description:
name: provider
sha256: "9a96a0a19b594dbc5bf0f1f27d2bc67d5f95957359b461cd9feb44ed6ae75096"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "6.1.1"
pull_to_refresh_flutter3:
......@@ -634,7 +634,7 @@ packages:
description:
name: pull_to_refresh_flutter3
sha256: "223a6241067162dc15cf8c46c05af998ce7aa85e0703d8f696101eb1b5629d76"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.0.1"
rational:
......@@ -642,7 +642,7 @@ packages:
description:
name: rational
sha256: ba58e9e18df9abde280e8b10051e4bce85091e41e8e7e411b6cde2e738d357cf
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.2.2"
recase:
......@@ -650,7 +650,7 @@ packages:
description:
name: recase
sha256: e4eb4ec2dcdee52dcf99cb4ceabaffc631d7424ee55e56f280bc039737f89213
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "4.1.0"
rxdart:
......@@ -658,7 +658,7 @@ packages:
description:
name: rxdart
sha256: "0c7c0cedd93788d996e33041ffecda924cc54389199cde4e6a34b440f50044cb"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "0.27.7"
scrollable_positioned_list:
......@@ -666,7 +666,7 @@ packages:
description:
name: scrollable_positioned_list
sha256: "9566352ab9ba05794ee6c8864f154afba5d36c5637d0e3e32c615ba4ceb92772"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "0.2.3"
shared_preferences:
......@@ -674,7 +674,7 @@ packages:
description:
name: shared_preferences
sha256: "16d3fb6b3692ad244a695c0183fca18cf81fd4b821664394a781de42386bf022"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.1.1"
shared_preferences_android:
......@@ -682,7 +682,7 @@ packages:
description:
name: shared_preferences_android
sha256: "8568a389334b6e83415b6aae55378e158fbc2314e074983362d20c562780fb06"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.2.1"
shared_preferences_foundation:
......@@ -690,7 +690,7 @@ packages:
description:
name: shared_preferences_foundation
sha256: "7708d83064f38060c7b39db12aefe449cb8cdc031d6062280087bc4cdb988f5c"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.3.5"
shared_preferences_linux:
......@@ -698,7 +698,7 @@ packages:
description:
name: shared_preferences_linux
sha256: "9f2cbcf46d4270ea8be39fa156d86379077c8a5228d9dfdb1164ae0bb93f1faa"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.3.2"
shared_preferences_platform_interface:
......@@ -706,7 +706,7 @@ packages:
description:
name: shared_preferences_platform_interface
sha256: "22e2ecac9419b4246d7c22bfbbda589e3acf5c0351137d87dd2939d984d37c3b"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.3.2"
shared_preferences_web:
......@@ -714,7 +714,7 @@ packages:
description:
name: shared_preferences_web
sha256: d762709c2bbe80626ecc819143013cc820fa49ca5e363620ee20a8b15a3e3daf
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.2.1"
shared_preferences_windows:
......@@ -722,7 +722,7 @@ packages:
description:
name: shared_preferences_windows
sha256: "841ad54f3c8381c480d0c9b508b89a34036f512482c407e6df7a9c4aa2ef8f59"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.3.2"
sky_engine:
......@@ -735,7 +735,7 @@ packages:
description:
name: source_span
sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "1.9.1"
stack_trace:
......@@ -743,7 +743,7 @@ packages:
description:
name: stack_trace
sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "1.11.0"
stream_channel:
......@@ -751,7 +751,7 @@ packages:
description:
name: stream_channel
sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.1.1"
string_scanner:
......@@ -759,7 +759,7 @@ packages:
description:
name: string_scanner
sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "1.2.0"
synchronized:
......@@ -767,7 +767,7 @@ packages:
description:
name: synchronized
sha256: "539ef412b170d65ecdafd780f924e5be3f60032a1128df156adad6c5b373d558"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "3.1.0+1"
term_glyph:
......@@ -775,7 +775,7 @@ packages:
description:
name: term_glyph
sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "1.2.1"
test_api:
......@@ -783,7 +783,7 @@ packages:
description:
name: test_api
sha256: eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "0.5.1"
typed_data:
......@@ -791,7 +791,7 @@ packages:
description:
name: typed_data
sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "1.3.2"
uuid:
......@@ -799,7 +799,7 @@ packages:
description:
name: uuid
sha256: "648e103079f7c64a36dc7d39369cabb358d377078a051d6ae2ad3aa539519313"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "3.0.7"
vector_math:
......@@ -807,7 +807,7 @@ packages:
description:
name: vector_math
sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "2.1.4"
win32:
......@@ -815,7 +815,7 @@ packages:
description:
name: win32
sha256: "350a11abd2d1d97e0cc7a28a81b781c08002aa2864d9e3f192ca0ffa18b06ed3"
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "5.0.9"
xdg_directories:
......@@ -823,7 +823,7 @@ packages:
description:
name: xdg_directories
sha256: faea9dee56b520b55a566385b84f2e8de55e7496104adada9962e0bd11bcff1d
url: "https://pub.flutter-io.cn"
url: "https://pub.dev"
source: hosted
version: "1.0.4"
sdks:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论