use business as param
This commit is contained in:
parent
542bd5e697
commit
625fae4d5a
1 changed files with 10 additions and 9 deletions
|
|
@ -162,15 +162,16 @@ class _MihBusinessDetailsViewState extends State<MihBusinessDetailsView> {
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: 700,
|
width: 700,
|
||||||
child: MihBusinessCard(
|
child: MihBusinessCard(
|
||||||
businessid: widget.business.business_id,
|
business: widget.business,
|
||||||
businessName: widget.business.Name,
|
// businessid: widget.business.business_id,
|
||||||
cellNumber: widget.business.contact_no,
|
// businessName: widget.business.Name,
|
||||||
email: widget.business.bus_email,
|
// cellNumber: widget.business.contact_no,
|
||||||
gpsLocation: widget.business.gps_location,
|
// email: widget.business.bus_email,
|
||||||
rating: widget.business.rating.isNotEmpty
|
// gpsLocation: widget.business.gps_location,
|
||||||
? double.parse(widget.business.rating)
|
// rating: widget.business.rating.isNotEmpty
|
||||||
: 0,
|
// ? double.parse(widget.business.rating)
|
||||||
website: widget.business.website,
|
// : 0,
|
||||||
|
// website: widget.business.website,
|
||||||
width: width,
|
width: width,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue