review issue fixed
This commit is contained in:
@@ -133,8 +133,7 @@ class _BestDealScreenState extends State<BestDealScreen> {
|
||||
}
|
||||
|
||||
Widget floatingAction() {
|
||||
return Consumer<ProductProvider>(builder: (context, provider, child)
|
||||
{
|
||||
return Consumer<ProductProvider>(builder: (context, provider, child) {
|
||||
if (provider.countList.isEmpty) {
|
||||
return Center();
|
||||
} else {
|
||||
@@ -354,6 +353,7 @@ class _BestDealScreenState extends State<BestDealScreen> {
|
||||
.productImages?.first.url ??
|
||||
"",
|
||||
backGroundColor: Colors.transparent,
|
||||
radius: 10,
|
||||
),
|
||||
),
|
||||
Positioned(
|
||||
@@ -361,7 +361,7 @@ class _BestDealScreenState extends State<BestDealScreen> {
|
||||
bottom: 0,
|
||||
child: Container(
|
||||
padding: EdgeInsets.symmetric(
|
||||
horizontal: 6, vertical: 2),
|
||||
horizontal: 10, vertical: 10),
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.red,
|
||||
borderRadius: BorderRadius.circular(5),
|
||||
@@ -370,7 +370,7 @@ class _BestDealScreenState extends State<BestDealScreen> {
|
||||
child: Text(
|
||||
"${calculateDiscountPercentage(double.parse(bestdealproduct.basePrice), double.parse(bestdealproduct.discountPrice))}% OFF",
|
||||
style: TextStyle(
|
||||
color: Colors.white, fontSize: 12)),
|
||||
color: Colors.white, fontSize: 15)),
|
||||
),
|
||||
),
|
||||
)
|
||||
@@ -403,7 +403,7 @@ class _BestDealScreenState extends State<BestDealScreen> {
|
||||
Spacer(),
|
||||
Row(
|
||||
children: [
|
||||
Row(
|
||||
Column(
|
||||
children: [
|
||||
Text(
|
||||
"₹${bestdealproduct.discountPrice ?? ""} ",
|
||||
@@ -411,7 +411,7 @@ class _BestDealScreenState extends State<BestDealScreen> {
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style:
|
||||
context.customSemiBold(Colors.black, 12),
|
||||
context.customSemiBold(Colors.black, 15),
|
||||
),
|
||||
Text(
|
||||
"₹${bestdealproduct.basePrice ?? ""}",
|
||||
@@ -421,7 +421,7 @@ class _BestDealScreenState extends State<BestDealScreen> {
|
||||
style: context
|
||||
.customMedium(
|
||||
Colors.grey.withOpacity(0.8),
|
||||
12,
|
||||
15,
|
||||
)
|
||||
.copyWith(
|
||||
decoration: TextDecoration.lineThrough,
|
||||
|
||||
Reference in New Issue
Block a user