WIP #49 Add location update interval settings

This commit is contained in:
estevez-dev
2019-08-30 21:45:34 +03:00
parent 5a3b57c28e
commit b07ff6fe71
8 changed files with 278 additions and 395 deletions

View File

@ -0,0 +1,27 @@
part of '../../main.dart';
class LinkToWebConfig extends StatelessWidget {
final String name;
final String url;
const LinkToWebConfig({Key key, @required this.name, @required this.url}) : super(key: key);
@override
Widget build(BuildContext context) {
return Card(
child: Column(
children: <Widget>[
ListTile(
title: Text("${this.name}",
textAlign: TextAlign.left,
overflow: TextOverflow.ellipsis,
style: new TextStyle(fontWeight: FontWeight.bold, fontSize: Sizes.largeFontSize)),
subtitle: Text("Tap to opne web version"),
onTap: () => HAUtils.launchURLInCustomTab(context: context, url: this.url),
)
],
),
);
}
}