simple_webview_flutter 0.0.1 copy "simple_webview_flutter: ^0.0.1" to clipboard
simple_webview_flutter: ^0.0.1 copied to clipboard

PlatformAndroid

A clone of webview_flutter but use simple_platform_view instead of AndroidView for performance optimization

example/lib/main.dart

import 'package:example/select_screen.dart';
import 'package:flutter/material.dart';
import 'package:simple_platform_view/simple_platform_view.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: SelectScreen(),
      // Fix StretchingOverscrollIndicator issues
      scrollBehavior: SimplePlatformViewScrollBehavior(),
    );
  }
}
1
likes
130
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

A clone of webview_flutter but use simple_platform_view instead of AndroidView for performance optimization

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, simple_platform_view, webview_flutter_android, webview_flutter_platform_interface

More

Packages that depend on simple_webview_flutter