Browse Source

safety

master
fmk 3 years ago
parent
commit
c99b68df97
  1. 146
      lib/store/store_order.dart
  2. 113
      lib/store/store_view/product_sku.dart
  3. 97
      lib/store/store_view/shop_car.dart
  4. 134
      lib/store/store_view/shop_goods.dart
  5. 48
      lib/store/store_view/store_order_list.dart
  6. 7
      pubspec.lock
  7. 3
      pubspec.yaml

146
lib/store/store_order.dart

@ -1,3 +1,4 @@
import 'package:ai_decimal_accuracy/ai_decimal_accuracy.dart';
import 'package:dio/dio.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/gestures.dart';
@ -40,18 +41,21 @@ class StoreOrderPage extends StatefulWidget {
}
class _StoreOrderPage extends State<StoreOrderPage>
with TickerProviderStateMixin, AutomaticKeepAliveClientMixin {
with TickerProviderStateMixin/*, AutomaticKeepAliveClientMixin*/ {
TabController tabcontroller;
ApiService apiService;
MinApiService minService;
StoreInfo storeInfo;
List<Activity> activitys;
RefreshController refreshController;
List<Widget> _widgetOptions;
int allCount = 0;
double allPrice = 0;
StoreOrderListPage storeOrderListPage;
List<ProductListBean> productLists = [];
List<Map<String, dynamic>> shopCarGoods = [];
ScrollController controller = ScrollController();
@override
@ -63,43 +67,20 @@ class _StoreOrderPage extends State<StoreOrderPage>
length: 2,
vsync: this,
);
storeOrderListPage = StoreOrderListPage(widget.arguments, activitys,
storeInfo, controller, _queryMiNiDetail, _fc);
_widgetOptions = [
storeOrderListPage,
///,
StoreActivity(
widget.arguments,
activitys,
),
];
minLogin();
queryStoreInfo();
}
_fc(ProductListBean plb) {
_fc(int count, String productId, int allCount, double allPrice) {
if (count == 0) {
int index = shopCarGoods.indexWhere((element) => element["id"] == productId);
shopCarGoods.removeAt(index);
}
setState(() {
allCount = 0;
allPrice = 0;
bool flag = false;
for (var i = 0; i < productLists.length; i++) {
if (productLists[i].id == plb.id) {
flag = true;
if (plb.buyNum == 0)
productLists.removeAt(i);
else
productLists[i] = plb;
break;
}
}
storeOrderListPage.notifyList(productLists);
if (!flag && plb.buyNum != 0) productLists.add(plb);
productLists.forEach((element) {
allCount += element.buyNum;
allPrice += double.parse(element.price) * element.buyNum;
});
this.allCount = allCount;
this.allPrice = allPrice;
});
}
@ -321,7 +302,23 @@ class _StoreOrderPage extends State<StoreOrderPage>
},
body: TabBarView(
physics: BouncingScrollPhysics(),
children: _widgetOptions,
children: [
StoreOrderListPage(
widget.arguments,
activitys,
storeInfo,
shopCarGoods,
controller,
_queryMiNiDetail,
_fc,
),
///,
StoreActivity(
widget.arguments,
activitys,
),
],
controller: tabcontroller,
),
),
@ -350,7 +347,7 @@ class _StoreOrderPage extends State<StoreOrderPage>
),
),
Text(
"" + allPrice.toString(),
"$allPrice",
style: TextStyle(
fontSize: 20.sp,
fontWeight: MyFontWeight.medium,
@ -384,9 +381,7 @@ class _StoreOrderPage extends State<StoreOrderPage>
children: [
InkWell(
onTap: () {
setState(() {
showShoppingCart();
});
showShoppingCart();
},
child: Image.asset(
"assets/image/shopp.png",
@ -401,7 +396,7 @@ class _StoreOrderPage extends State<StoreOrderPage>
child: RoundButton(
width: 17,
height: 17,
text: allCount.toString(),
text: "$allCount",
textColor: Colors.white,
fontWeight: MyFontWeight.regular,
backgroup: Color(0xFF32A060),
@ -455,21 +450,38 @@ class _StoreOrderPage extends State<StoreOrderPage>
);
}
List<ProductListBean> productLists = [];
///
showShoppingCart() {
List<ProductListBean> shopCar = [];
if (shopCarGoods != null && shopCarGoods.length > 0) {
shopCarGoods.forEach((element) {
ProductListBean productListBean = productLists.firstWhere((element1) {
return element["id"] == element1.id;
});
if (productListBean != null) {
shopCar.add(productListBean);
}
});
}
showModalBottomSheet(
context: context,
backgroundColor: Colors.transparent,
builder: (context) {
return ShopCar(
productLists,
_queryMiNiDetail,
(ProductListBean productListBeans) {
shopCar,
shopCarGoods,
(int count, String productId, allCount, allPrice) {
if (count == 0) {
int index = shopCarGoods.indexWhere((element) => element["id"] == productId);
shopCarGoods.removeAt(index);
}
print("shopCarCount: $allCount allPrice: $allPrice ");
setState(() {
// this.allCount = allCount;
// this.allPrice = allPrice;
this.allCount = allCount;
this.allPrice = allPrice;
});
},
);
@ -481,9 +493,7 @@ class _StoreOrderPage extends State<StoreOrderPage>
_queryMiNiDetail(String id) async {
BaseData<MiNiDetail> baseData = await minService.miNiDetail(id);
if (baseData != null && baseData.isSuccess) {
setState(() {
showStoreSelector(baseData.data);
});
showStoreSelector(baseData.data, id);
}
}
@ -500,18 +510,46 @@ class _StoreOrderPage extends State<StoreOrderPage>
}
///
showStoreSelector(MiNiDetail miNiDetail) {
showModalBottomSheet(
showStoreSelector(MiNiDetail miNiDetail, String id) async {
var result = await showModalBottomSheet(
context: context,
backgroundColor: Colors.transparent,
builder: (context) {
return ProductSku(miNiDetail);
return ProductSku(miNiDetail, id);
},
);
if (result != null) {
if (shopCarGoods == null || shopCarGoods.length == 0) {
shopCarGoods = [];
shopCarGoods.add(result);
} else {
Map<String, dynamic> map;
shopCarGoods.forEach((element) {
if (element["id"] == result["id"]) {
map = element;
}
});
print("result000: $map");
if (map != null) {
int index = shopCarGoods.indexWhere((element) => element["id"] == result["id"]);
shopCarGoods.removeAt(index);
shopCarGoods.insert(index, result);
} else {
shopCarGoods.add(result);
}
}
calculatePrice();
}
print("result111: $shopCarGoods");
}
@override
bool get wantKeepAlive => true;
calculatePrice() {
setState(() {});
}
// @override
// bool get wantKeepAlive => true;
}
class Title extends StatefulWidget {

113
lib/store/store_view/product_sku.dart

@ -9,8 +9,9 @@ import 'package:huixiang/view_widget/round_button.dart';
class ProductSku extends StatefulWidget {
final MiNiDetail miNiDetail;
final String productId;
ProductSku(this.miNiDetail);
ProductSku(this.miNiDetail, this.productId);
@override
State<StatefulWidget> createState() {
@ -19,13 +20,33 @@ class ProductSku extends StatefulWidget {
}
class _ProductSku extends State<ProductSku> {
int isChoice = 0;
int tempClickIndex = 0;
List<String> selectSkus = [];
int selectCount = 1;
Map<String, dynamic> tempSelected = {};
@override
void initState() {
super.initState();
if (widget.miNiDetail != null) {
tempSelected["id"] = widget.productId;
tempSelected["count"] = 1;
tempSelected["price"] = widget.miNiDetail.price;
if (tempSelected["attr"] == null)
tempSelected["attr"] = [];
widget.miNiDetail.attrList.forEach((element) {
selectSkus.add(element.attrValueList[0].attrValue);
(tempSelected["attr"] as List).add({
"attrId": "${element.id}",
"attrValue": "${element.attrValueList[0].id}",
});
});
}
}
@override
Widget build(BuildContext context) {
String selectSku = "";
int selectCount = 1;
return StatefulBuilder(builder: (context1, state) {
return Container(
alignment: Alignment.topCenter,
@ -75,7 +96,7 @@ class _ProductSku extends State<ProductSku> {
Padding(
padding: EdgeInsets.only(top: 4, bottom: 7),
child: Text(
"已选:" + selectSku,
"已选: " + (selectSkus.map((e) => "$e").toList().toString()),
style: TextStyle(
color: Color(0xFF727272),
fontSize: 11.sp,
@ -128,30 +149,22 @@ class _ProductSku extends State<ProductSku> {
physics: BouncingScrollPhysics(),
itemBuilder: (context, position) {
return attrItem(
() {
(index) {
if (tempSelected["attr"] == null) {
tempSelected["attr"] = [];
}
(tempSelected["attr"] as List).add({
"attrId": "${widget.miNiDetail.attrList[position].id}",
"attrValue": "${widget.miNiDetail.attrList[position].attrValueList[index].id}",
});
state(() {
for (var i = 0;
i <
widget.miNiDetail.attrList[position]
.attrValueList.length;
i++) {
if (tempClickIndex == i)
widget.miNiDetail.attrList[position]
.attrValueList[i].isSelected = true;
else
widget.miNiDetail.attrList[position]
.attrValueList[i].isSelected = false;
}
selectSku = "";
widget.miNiDetail.attrList.forEach((e0) {
e0.attrValueList.forEach((e1) {
if (e1.isSelected ?? false)
selectSku += e1.attrValue + " ";
});
});
selectSkus[position] = widget.miNiDetail
.attrList[position].attrValueList[index].attrValue;
});
},
widget.miNiDetail.attrList[position],
position,
);
},
),
@ -177,6 +190,7 @@ class _ProductSku extends State<ProductSku> {
state(() {
if (selectCount > 1) selectCount--;
});
tempSelected["count"] = selectCount;
},
child: Image.asset(
"assets/image/reduce.png",
@ -199,6 +213,7 @@ class _ProductSku extends State<ProductSku> {
onTap: () {
state(() {
selectCount++;
tempSelected["count"] = selectCount;
});
},
child: Image.asset(
@ -212,29 +227,18 @@ class _ProductSku extends State<ProductSku> {
SizedBox(
height: 24,
),
GestureDetector(
onTap: () {
bool flag = false;
widget.miNiDetail.productSkuVOList.forEach((element) {
if (selectSku.trim() == element.skuNameStr) {
Navigator.of(context).pop();
flag = true;
}
});
if (!flag)
SmartDialog.showToast("请选择規格!", alignment: Alignment.center);
RoundButton(
width: double.infinity,
height: 54.h,
text: "加入购物车",
textColor: Colors.white,
fontWeight: MyFontWeight.semi_bold,
radius: 27,
backgroup: Color(0xFF32A060),
fontSize: 16.sp,
callback: () {
Navigator.of(context).pop(tempSelected);
},
child: RoundButton(
width: double.infinity,
height: 54.h,
text: "加入购物车",
textColor: Colors.white,
fontWeight: MyFontWeight.semi_bold,
radius: 27,
backgroup: Color(0xFF32A060),
fontSize: 16.sp,
// padding: EdgeInsets.symmetric(vertical: 5.h),
),
),
SizedBox(
height: 21.h,
@ -245,7 +249,7 @@ class _ProductSku extends State<ProductSku> {
});
}
Widget attrItem(Function fc, AttrListBean attrListBean) {
Widget attrItem(Function fc, AttrListBean attrListBean, position) {
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
@ -260,12 +264,12 @@ class _ProductSku extends State<ProductSku> {
),
),
),
sweetnessStore(fc, attrListBean.attrValueList),
sweetnessStore(fc, attrListBean.attrValueList, position),
],
);
}
Widget sweetnessStore(Function fc, List<AttrValueListBean> arrays) {
Widget sweetnessStore(Function fc, List<AttrValueListBean> arrays, position) {
return GridView.builder(
itemCount: arrays.length,
shrinkWrap: true,
@ -283,11 +287,12 @@ class _ProductSku extends State<ProductSku> {
itemBuilder: (context, index) {
return GestureDetector(
onTap: () {
tempClickIndex = index;
fc();
fc(index);
},
child: sweetnessItem(
arrays[index].attrValue, arrays[index].isSelected ?? false),
arrays[index].attrValue,
(arrays[index].attrValue == selectSkus[position]) ?? false,
),
);
},
);

97
lib/store/store_view/shop_car.dart

@ -8,60 +8,35 @@ import 'package:huixiang/view_widget/round_button.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
class ShopCar extends StatefulWidget {
final List<ProductListBean> productLists;
final Function(String id) queryMiNiDetail;
final Function(ProductListBean productListBeans) fc;
final List<Map<String, dynamic>> shopCarGoods;
final Function(int count, String productId, int allCount, double allPrice) fc;
ShopCar(
this.productLists,
this.queryMiNiDetail,
this.shopCarGoods,
this.fc,
{
this.queryMiNiDetail,
}
);
@override
State<StatefulWidget> createState() {
return _ShopCar();
return _ShopCar(this.shopCarGoods);
}
}
class _ShopCar extends State<ShopCar> {
int allCount = 0;
double allPrice = 0;
int allCount;
double allPrice;
ProductListBean productListBeans;
final List<Map<String, dynamic>> shopCarGoods;
@override
void initState() {
super.initState();
_fc(null);
}
_fc(ProductListBean plb) {
setState(() {
if(plb != null){
allCount = 0;
allPrice = 0;
bool flag = false;
for(var i = 0;i < widget.productLists.length;i++){
if(widget.productLists[i].id == plb.id){
flag = true;
if(plb.buyNum == 0)
widget.productLists.removeAt(i);
else widget.productLists[i] = plb;
break;
}
}
if(!flag)
widget.productLists.add(plb);
}
widget.productLists.forEach((element) {
allCount += element.buyNum;
allPrice += double.parse(element.price) * element.buyNum;
});
});
}
_ShopCar(this.shopCarGoods);
@override
Widget build(BuildContext context) {
@ -102,8 +77,7 @@ class _ShopCar extends State<ShopCar> {
),
InkWell(
onTap: () {
state(() {
});
state(() {});
},
child: Image.asset(
"assets/image/delete.png",
@ -129,20 +103,31 @@ class _ShopCar extends State<ShopCar> {
return GestureDetector(
onTap: () {},
child: ShopGoods(
widget.productLists,
position,
widget.queryMiNiDetail,
(ProductListBean productListBeans){
widget.fc(productListBeans);
setState(() {
this.productListBeans = productListBeans;
widget.productLists[position],
(int count, String productId) {
int index = shopCarGoods.indexWhere((element) => element["id"] == productId);
if (count == 0) {
shopCarGoods.removeAt(index);
}
Map<String, dynamic> map = shopCarGoods.firstWhere((element) => element["id"] == productId);
map["count"] = count;
shopCarGoods[index] = map;
shopCarGoods.forEach((element) {
if (element["price"] != null && element["price"] != "") {
double singlePrice = double.tryParse(element["price"]);
allCount += element["count"];
allPrice += (singlePrice * element["count"]);
}
});
widget.fc(count, productId, allCount, allPrice);
state((){});
},
shopCarGoods: _shopCarGoods(position),
queryMiNiDetail: widget.queryMiNiDetail,
),
// child: ShopGoods(widget.productLists, position, widget.queryMiNiDetail, (plb){setState(() {
// _fc(plb);
// widget.fc(plb);
// });}),
);
},
),
@ -244,4 +229,14 @@ class _ShopCar extends State<ShopCar> {
);
});
}
}
Map<String, dynamic> _shopCarGoods(int position) {
widget.shopCarGoods.forEach((element) {
if (widget.productLists[position].id == element["id"]) {
return element;
}
});
return null;
}
}

134
lib/store/store_view/shop_goods.dart

@ -7,17 +7,17 @@ import 'package:huixiang/view_widget/custom_image.dart';
import 'package:huixiang/view_widget/round_button.dart';
class ShopGoods extends StatefulWidget {
final List<ProductListBean> productListBeans;
final int position;
final ProductListBean productList;
final Function(String id) queryMiNiDetail;
final Function(ProductListBean productListBeans) fc;
final Function(int count, String productId) fc;
final Map<String, dynamic> shopCarGoods;
ShopGoods(
this.productListBeans,
this.position,
this.productList,
this.fc, {
this.queryMiNiDetail,
this.fc,
);
this.shopCarGoods,
});
@override
State<StatefulWidget> createState() {
@ -26,20 +26,25 @@ class ShopGoods extends StatefulWidget {
}
class _ShopGoods extends State<ShopGoods> {
@override
Widget build(BuildContext context) {
int buyNum = _count();
print("result:11 $buyNum");
return Container(
color: Colors.white,
padding: EdgeInsets.only(right: 16.w, bottom: 10.h, top: 10.h),
padding: EdgeInsets.only(
right: 16.w,
bottom: 10.h,
top: 10.h,
),
child: Row(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.start,
children: [
SizedBox(width: 12.w),
MImage(
widget.productListBeans[widget.position] != null
? widget.productListBeans[widget.position].imgPath
: "",
widget.productList != null ? widget.productList.imgPath : "",
width: 70,
height: 70,
fit: BoxFit.cover,
@ -54,7 +59,7 @@ class _ShopGoods extends State<ShopGoods> {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
widget.productListBeans[widget.position].productName,
widget.productList.productName,
style: TextStyle(
color: Colors.black,
fontSize: 13.sp,
@ -68,7 +73,7 @@ class _ShopGoods extends State<ShopGoods> {
children: [
Expanded(
child: Text(
widget.productListBeans[widget.position].shortName,
widget.productList.shortName,
overflow: TextOverflow.ellipsis,
maxLines: 2,
style: TextStyle(
@ -105,7 +110,7 @@ class _ShopGoods extends State<ShopGoods> {
width: 4,
),
Text(
"¥${widget.productListBeans[widget.position].price}",
"¥${widget.productList.price}",
style: TextStyle(
color: Color(0xFFFF7A1A),
fontSize: 11.sp,
@ -128,7 +133,7 @@ class _ShopGoods extends State<ShopGoods> {
width: 4,
),
Text(
"¥${widget.productListBeans[widget.position].applyPrice}",
"¥${widget.productList.applyPrice}",
style: TextStyle(
color: Color(0xFFA29E9E),
fontSize: 10.sp,
@ -140,46 +145,39 @@ class _ShopGoods extends State<ShopGoods> {
],
),
Spacer(),
widget.productListBeans[widget.position].attrStyle == 1
? RoundButton(
width: 49.w,
text: S.of(context).xuanguige,
textColor: Colors.white,
fontWeight: MyFontWeight.medium,
radius: 11,
backgroup: Color(0xFF32A060),
fontSize: 11.sp,
padding: EdgeInsets.symmetric(vertical: 5.h),
callback: () {
widget.queryMiNiDetail(
widget.productListBeans[widget.position].id);
},
)
: InkWell(
onTap: () {
setState(() {
{
if (widget.productListBeans[widget.position]
.buyNum >
0)
widget.productListBeans[widget.position]
.buyNum--;
widget.fc(widget.productListBeans[widget.position]);
}
});
},
child: Image.asset(
"assets/image/reduce.png",
width: 22,
height: 22,
),
),
if (widget.productListBeans[widget.position].attrStyle == 0)
Padding(
padding: EdgeInsets.only(left: 8, right: 8),
if (buyNum == 0)
RoundButton(
width: 49.w,
text: S.of(context).xuanguige,
textColor: Colors.white,
fontWeight: MyFontWeight.medium,
radius: 11,
backgroup: Color(0xFF32A060),
fontSize: 11.sp,
padding: EdgeInsets.symmetric(vertical: 5.h),
callback: () {
widget.queryMiNiDetail(widget.productList.id);
},
),
if (buyNum > 0)
InkWell(
onTap: () {
reduceCount();
widget.fc(widget.shopCarGoods["count"], widget.productList.id);
setState(() {});
},
child: Image.asset(
"assets/image/reduce.png",
width: 22,
height: 22,
),
),
if (buyNum > 0)
Container(
width: 30,
alignment: Alignment.center,
child: Text(
widget.productListBeans[widget.position].buyNum
.toString(),
"$buyNum",
style: TextStyle(
color: Colors.black,
fontSize: 14.sp,
@ -187,13 +185,12 @@ class _ShopGoods extends State<ShopGoods> {
),
),
),
if (widget.productListBeans[widget.position].attrStyle == 0)
if (buyNum > 0)
InkWell(
onTap: () {
setState(() {
widget.productListBeans[widget.position].buyNum++;
widget.fc(widget.productListBeans[widget.position]);
});
addCount();
widget.fc(widget.shopCarGoods["count"], widget.productList.id);
setState(() {});
},
child: Image.asset(
"assets/image/add.png",
@ -210,4 +207,23 @@ class _ShopGoods extends State<ShopGoods> {
),
);
}
addCount() {
widget.shopCarGoods["count"] += 1;
}
reduceCount() {
widget.shopCarGoods["count"] -= 1;
}
int _count() {
if (widget.shopCarGoods == null) return 0;
if (widget.productList.id == widget.shopCarGoods["id"]) {
return widget.shopCarGoods["count"];
}
return 0;
}
}

48
lib/store/store_view/store_order_list.dart

@ -1,13 +1,12 @@
import 'package:ai_decimal_accuracy/ai_decimal_accuracy.dart';
import 'package:dio/dio.dart';
import 'package:flutter/material.dart';
import 'package:huixiang/retrofit/data/activity.dart';
import 'package:huixiang/retrofit/data/base_data.dart';
import 'package:huixiang/retrofit/data/findMiNiGroupList.dart';
import 'package:huixiang/retrofit/data/miNiDetail.dart';
import 'package:huixiang/retrofit/data/store_info.dart';
import 'package:huixiang/retrofit/min_api.dart';
import 'package:huixiang/retrofit/retrofit_api.dart';
import 'package:huixiang/store/store_view/product_sku.dart';
import 'package:huixiang/store/store_view/shop_goods.dart';
import 'package:huixiang/utils/font_weight.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
@ -18,14 +17,15 @@ class StoreOrderListPage extends StatefulWidget {
final List<Activity> activitys;
final StoreInfo storeInfo;
final ScrollController controller;
final Function(ProductListBean plb) fc;
final Function(int count, String productId, int allCount, double allPrice) fc;
final Function(String id) queryMiNiDetail;
_StoreOrderListPage _storeOrderListPage;
List<Map<String, dynamic>> shopCarGoods;
StoreOrderListPage(
this.arguments,
this.activitys,
this.storeInfo,
this.shopCarGoods,
this.controller,
this.queryMiNiDetail,
this.fc
@ -33,16 +33,13 @@ class StoreOrderListPage extends StatefulWidget {
@override
State<StatefulWidget> createState() {
_storeOrderListPage = _StoreOrderListPage();
return _storeOrderListPage;
return _StoreOrderListPage();
}
void notifyList(List<ProductListBean> product){
_storeOrderListPage.notifyList(product);
}
}
class _StoreOrderListPage extends State<StoreOrderListPage> {
int isSelected = 0;
int tempClickIndex = 0;
ApiService apiService;
@ -177,16 +174,33 @@ class _StoreOrderListPage extends State<StoreOrderListPage> {
}
Widget goodsItem(position) {
Map<String, dynamic> map;
widget.shopCarGoods.forEach((element) {
if (productListBeans[position].id == element["id"]) {
map = element;
}
});
return ShopGoods(
productListBeans,
position,
widget.queryMiNiDetail,
widget.fc,
productListBeans[position],
(int count, String productId) {
int allCount = 0;
AiDecimalAccuracy allPrice = AiDecimalAccuracy.zero;
widget.shopCarGoods.forEach((element2) {
if (element2["price"] != null && element2["price"] != "") {
double singlePrice = double.tryParse(element2["price"]);
allCount += element2["count"];
AiDecimalAccuracy aiDecimalAccuracy = AiDecimalAccuracy.fromInt(element2["count"]);
AiDecimalAccuracy aiPrice = AiDecimalAccuracy.tryParse("$singlePrice");
allPrice += (aiPrice * aiDecimalAccuracy);
}
});
widget.fc(count, productId, allCount, allPrice.toDouble());
},
queryMiNiDetail: widget.queryMiNiDetail,
shopCarGoods: map,
);
}
List<ProductListBean> shopCarList() {
return productListBeans;
}
}

7
pubspec.lock

@ -8,6 +8,13 @@ packages:
url: "https://pub.flutter-io.cn"
source: hosted
version: "14.0.0"
ai_decimal_accuracy:
dependency: "direct main"
description:
name: ai_decimal_accuracy
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.1.0"
analyzer:
dependency: transitive
description:

3
pubspec.yaml

@ -86,7 +86,8 @@ dependencies:
font_awesome_flutter: ^9.1.0
# flutter_bugly: ^0.3.3
# bitmap: ^0.1.2
# decimal: ^1.3.0
ai_decimal_accuracy: ^1.1.0
# zefyr: ^0.12.0
dev_dependencies:

Loading…
Cancel
Save