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
686 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 WebViews extends StatefulWidget {
@override
_WebViewsState createState() => _WebViewsState();
}
class _WebViewsState extends State<WebViews> {
@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 Support"),
),
body: WebView(
initialUrl: serverwebHelp,
),
);
}
}