You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
694 B
31 lines
694 B
3 years ago
|
import 'dart:io';
|
||
|
import 'package:flutter/material.dart';
|
||
|
import 'package:teso/util/consts.dart';
|
||
|
import 'package:webview_flutter/webview_flutter.dart';
|
||
|
|
||
|
class Privacy extends StatefulWidget {
|
||
|
@override
|
||
|
_PrivacyState createState() => _PrivacyState();
|
||
|
}
|
||
|
|
||
|
class _PrivacyState extends State<Privacy> {
|
||
|
@override
|
||
|
void initState() {
|
||
|
super.initState();
|
||
|
if (Platform.isAndroid) WebView.platform = SurfaceAndroidWebView();
|
||
|
}
|
||
|
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return Scaffold(
|
||
|
appBar: AppBar(
|
||
|
centerTitle: true,
|
||
|
title: Text("Teso Terms and Privacy"),
|
||
|
),
|
||
|
body: WebView(
|
||
|
initialUrl: serverwebPrivacy,
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
}
|