CartNum.dart
import 'package:flutter/material.dart';
import 'package:jdflutter/flutter_jdshop/services/ScreenAdaper.dart';
import 'package:provider/provider.dart';
import '../../provider/Cart.dart';
class CartNum extends StatefulWidget {
const CartNum({Key? key}) : super(key: key);
@override
_CartNumState createState() => _CartNumState();
}
class _CartNumState extends State<CartNum> {
@override
Widget build(BuildContext context) {
return Container(
width: ScreenAdaper.width(164),
decoration: BoxDecoration(
border: Border.all(width: 1,color: Colors.black12)
),
child: Row(
children: [
|