chanmge rating stars color top yellow
This commit is contained in:
@@ -367,11 +367,11 @@ class _MihBusinessCardState extends State<MihBusinessCard> {
|
|||||||
filledIcon: Icons.star,
|
filledIcon: Icons.star,
|
||||||
emptyIcon: Icons.star_border,
|
emptyIcon: Icons.star_border,
|
||||||
halfFilledIcon: Icons.star_half,
|
halfFilledIcon: Icons.star_half,
|
||||||
filledColor:
|
filledColor: const Color(0xffe9e8a1),
|
||||||
MzansiInnovationHub.of(context)!.theme.primaryColor(),
|
// MzansiInnovationHub.of(context)!.theme.primaryColor(),
|
||||||
emptyColor: MzansiInnovationHub.of(context)!.theme.primaryColor(),
|
emptyColor: MzansiInnovationHub.of(context)!.theme.primaryColor(),
|
||||||
halfFilledColor:
|
halfFilledColor: const Color(0xffe9e8a1),
|
||||||
MzansiInnovationHub.of(context)!.theme.primaryColor(),
|
// MzansiInnovationHub.of(context)!.theme.primaryColor(),
|
||||||
isHalfAllowed: true,
|
isHalfAllowed: true,
|
||||||
initialRating: widget.business.rating.isNotEmpty
|
initialRating: widget.business.rating.isNotEmpty
|
||||||
? double.parse(widget.business.rating)
|
? double.parse(widget.business.rating)
|
||||||
@@ -517,6 +517,7 @@ class _MihBusinessCardState extends State<MihBusinessCard> {
|
|||||||
business: widget.business,
|
business: widget.business,
|
||||||
businessReview: asyncSnapshot.data,
|
businessReview: asyncSnapshot.data,
|
||||||
screenWidth: width,
|
screenWidth: width,
|
||||||
|
readOnly: false,
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return MihPackageAlert(
|
return MihPackageAlert(
|
||||||
|
|||||||
Reference in New Issue
Block a user