| // Copyright 2018 The Chromium Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| import 'dart:async'; | |
| import 'package:flutter/services.dart'; | |
| class WebviewFlutter { | |
| static const MethodChannel _channel = MethodChannel('webview_flutter'); | |
| static Future<String> get platformVersion async { | |
| final String version = await _channel.invokeMethod('getPlatformVersion'); | |
| return version; | |
| } | |
| } |