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,21 +448,22 @@ class _MihBusinessCardState extends State<MihBusinessCard> {
|
|||
Visibility(
|
||||
visible: widget.business.website.isNotEmpty &&
|
||||
widget.business.website != "",
|
||||
child: Divider(
|
||||
color: MzansiInnovationHub.of(context)!.theme.primaryColor(),
|
||||
),
|
||||
),
|
||||
Visibility(
|
||||
visible: widget.business.website.isNotEmpty &&
|
||||
widget.business.website != "",
|
||||
child: _buildContactInfo(
|
||||
"Website",
|
||||
"Find out more about us.",
|
||||
Icons.vpn_lock,
|
||||
MihColors.getRedColor(context),
|
||||
() {
|
||||
_launchWebsite(widget.business.website);
|
||||
},
|
||||
child: Column(
|
||||
children: [
|
||||
Divider(
|
||||
color:
|
||||
MzansiInnovationHub.of(context)!.theme.primaryColor(),
|
||||
),
|
||||
_buildContactInfo(
|
||||
"Website",
|
||||
"Find out more about us.",
|
||||
Icons.vpn_lock,
|
||||
MihColors.getRedColor(context),
|
||||
() {
|
||||
_launchWebsite(widget.business.website);
|
||||
},
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
FutureBuilder(
|
||||
|
|
@ -482,8 +483,8 @@ class _MihBusinessCardState extends State<MihBusinessCard> {
|
|||
),
|
||||
Container(
|
||||
child: _buildContactInfo(
|
||||
"Rate Us",
|
||||
"Let us know how we are doing.",
|
||||
"Loading Rating",
|
||||
"Loading your rating.",
|
||||
Icons.star_rate_rounded,
|
||||
MihColors.getYellowColor(context),
|
||||
() {
|
||||
|
|
@ -544,8 +545,8 @@ class _MihBusinessCardState extends State<MihBusinessCard> {
|
|||
),
|
||||
Container(
|
||||
child: _buildContactInfo(
|
||||
"Bookmark Us",
|
||||
"Save us for later.",
|
||||
"Loading Bookmark",
|
||||
"Loading your bookmark.",
|
||||
Icons.bookmark_add_rounded,
|
||||
MihColors.getBluishPurpleColor(context),
|
||||
() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue