update icon
This commit is contained in:
@@ -6,6 +6,7 @@ library;
|
||||
import 'package:cached_network_image/cached_network_image.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
|
||||
import 'package:intl/intl.dart';
|
||||
import 'package:worker/core/theme/colors.dart';
|
||||
import 'package:worker/core/theme/typography.dart';
|
||||
@@ -135,8 +136,8 @@ class _CartItemWidgetState extends ConsumerState<CartItemWidget> {
|
||||
width: 100,
|
||||
height: 100,
|
||||
color: AppColors.grey100,
|
||||
child: const Icon(
|
||||
Icons.image_not_supported,
|
||||
child: const FaIcon(
|
||||
FontAwesomeIcons.image,
|
||||
color: AppColors.grey500,
|
||||
size: 32,
|
||||
),
|
||||
@@ -181,7 +182,7 @@ class _CartItemWidgetState extends ConsumerState<CartItemWidget> {
|
||||
children: [
|
||||
// Decrease button
|
||||
_QuantityButton(
|
||||
icon: Icons.remove,
|
||||
icon: FontAwesomeIcons.minus,
|
||||
onPressed: () {
|
||||
ref
|
||||
.read(cartProvider.notifier)
|
||||
@@ -239,7 +240,7 @@ class _CartItemWidgetState extends ConsumerState<CartItemWidget> {
|
||||
|
||||
// Increase button
|
||||
_QuantityButton(
|
||||
icon: Icons.add,
|
||||
icon: FontAwesomeIcons.plus,
|
||||
onPressed: () {
|
||||
ref
|
||||
.read(cartProvider.notifier)
|
||||
@@ -319,7 +320,7 @@ class _CustomCheckbox extends StatelessWidget {
|
||||
),
|
||||
child: value
|
||||
? const Icon(
|
||||
Icons.check,
|
||||
FontAwesomeIcons.check,
|
||||
size: 14,
|
||||
color: AppColors.white,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user