add loading text when detting data
This commit is contained in:
parent
90439c5f05
commit
67ceba6c1a
1 changed files with 20 additions and 19 deletions
|
|
@ -448,14 +448,13 @@ class _MihBusinessCardState extends State<MihBusinessCard> {
|
||||||
Visibility(
|
Visibility(
|
||||||
visible: widget.business.website.isNotEmpty &&
|
visible: widget.business.website.isNotEmpty &&
|
||||||
widget.business.website != "",
|
widget.business.website != "",
|
||||||
child: Divider(
|
child: Column(
|
||||||
color: MzansiInnovationHub.of(context)!.theme.primaryColor(),
|
children: [
|
||||||
|
Divider(
|
||||||
|
color:
|
||||||
|
MzansiInnovationHub.of(context)!.theme.primaryColor(),
|
||||||
),
|
),
|
||||||
),
|
_buildContactInfo(
|
||||||
Visibility(
|
|
||||||
visible: widget.business.website.isNotEmpty &&
|
|
||||||
widget.business.website != "",
|
|
||||||
child: _buildContactInfo(
|
|
||||||
"Website",
|
"Website",
|
||||||
"Find out more about us.",
|
"Find out more about us.",
|
||||||
Icons.vpn_lock,
|
Icons.vpn_lock,
|
||||||
|
|
@ -464,6 +463,8 @@ class _MihBusinessCardState extends State<MihBusinessCard> {
|
||||||
_launchWebsite(widget.business.website);
|
_launchWebsite(widget.business.website);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
FutureBuilder(
|
FutureBuilder(
|
||||||
future: _businessReviewFuture,
|
future: _businessReviewFuture,
|
||||||
|
|
@ -482,8 +483,8 @@ class _MihBusinessCardState extends State<MihBusinessCard> {
|
||||||
),
|
),
|
||||||
Container(
|
Container(
|
||||||
child: _buildContactInfo(
|
child: _buildContactInfo(
|
||||||
"Rate Us",
|
"Loading Rating",
|
||||||
"Let us know how we are doing.",
|
"Loading your rating.",
|
||||||
Icons.star_rate_rounded,
|
Icons.star_rate_rounded,
|
||||||
MihColors.getYellowColor(context),
|
MihColors.getYellowColor(context),
|
||||||
() {
|
() {
|
||||||
|
|
@ -544,8 +545,8 @@ class _MihBusinessCardState extends State<MihBusinessCard> {
|
||||||
),
|
),
|
||||||
Container(
|
Container(
|
||||||
child: _buildContactInfo(
|
child: _buildContactInfo(
|
||||||
"Bookmark Us",
|
"Loading Bookmark",
|
||||||
"Save us for later.",
|
"Loading your bookmark.",
|
||||||
Icons.bookmark_add_rounded,
|
Icons.bookmark_add_rounded,
|
||||||
MihColors.getBluishPurpleColor(context),
|
MihColors.getBluishPurpleColor(context),
|
||||||
() {
|
() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue