|
@@ -1,6 +1,7 @@
|
|
|
import 'package:cs_resources/theme/app_colors_theme.dart';
|
|
|
import 'package:flutter/material.dart';
|
|
|
import 'package:widgets/my_text_view.dart';
|
|
|
+import 'package:widgets/utils/dark_theme_util.dart';
|
|
|
|
|
|
class MyCartNum extends StatefulWidget {
|
|
|
final int initialNum;
|
|
@@ -55,7 +56,7 @@ class _MyCartNumState extends State<MyCartNum> {
|
|
|
),
|
|
|
fillColor: context.appColors.textPrimary,
|
|
|
splashColor: context.appColors.textPrimary,
|
|
|
- textStyle: TextStyle(color: Colors.white),
|
|
|
+ textStyle: TextStyle(color: DarkThemeUtil.multiColors(context, Colors.white, darkColor: Colors.black54)),
|
|
|
onPressed: _decrementNum,
|
|
|
child: const Icon(Icons.remove),
|
|
|
),
|
|
@@ -77,7 +78,7 @@ class _MyCartNumState extends State<MyCartNum> {
|
|
|
),
|
|
|
fillColor: context.appColors.textPrimary,
|
|
|
splashColor: context.appColors.textPrimary,
|
|
|
- textStyle: TextStyle(color: Colors.white),
|
|
|
+ textStyle: TextStyle(color: DarkThemeUtil.multiColors(context, Colors.white, darkColor: Colors.black54)),
|
|
|
onPressed: _incrementNum,
|
|
|
child: const Icon(Icons.add),
|
|
|
),
|