TF-359 Open a web address and mailto link from EmailView

This commit is contained in:
dab246
2022-04-05 18:49:30 +07:00
committed by Dat H. Pham
parent 8cdb2c6fa4
commit c456cde7a8
11 changed files with 69 additions and 55 deletions
@@ -1,31 +0,0 @@
import 'package:core/core.dart';
import 'package:flutter/cupertino.dart';
class LoadingDialogBuilder {
final Key _key;
final String _title;
LoadingDialogBuilder(this._key, this._title);
Widget build() {
return CupertinoAlertDialog(
key: _key,
title: Text(_title, style: TextStyle(fontSize: 17.0, color: AppColor.appColor)),
content: Padding(
padding: EdgeInsets.only(top: 16.0, left: 16.0, right: 16.0),
child: Center(
child: Column(
children: [
SizedBox(
width: 20.0,
height: 20.0,
child: CupertinoActivityIndicator()),
SizedBox(height: 16),
],
),
),
),
);
}
}