FLUTTER ECOSYSTEM

hisaichi5518/native_webview

Um plugin do Flutter que permite adicionar um WebView embutido.

Capa do projeto webview_native
Stars
52
Forks
21
Último push (UTC)
30 de nov. de 2022
Status do projeto
Ativo
hisaichi5518 GitHub avatar
GITHUB User

hisaichi5518 ↗

#dart #flutter #golang #swift #kotlin #java #android #ruby #perl

Tokyo, JapanSite oficial ↗
LinguagensDartKotlinSwiftJavaRubyObjective-CShellMakefileHTML

Tópicos técnicos

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 3 itens
  • flutter{"sdk":"flutter"}
  • flutter_testDesenvolvimento{"sdk":"flutter"}
  • pedanticDesenvolvimento^1.11.0

README original

Texto original em inglês. Visite o GitHub para a versão atual.

Expandir / recolher README

native_webview Pub Version

A Flutter plugin that allows you to add an inline WebView.

Motivation

There is already a useful library for working with WebViews in Flutter.

These libraries come with trade-offs such as simple implementation but lack features, or very advanced features and complex implementation.

native_webview is designed to provide users with a standard set of WebView features provided by iOS and Android while keeping the implementation simple.

Requirements

  • Dart: >=2.10.0 <3.0.0
  • Flutter: >=1.22.0 <2.0.0
  • Android: minSdkVersion 24, AndroidX, Kotlin, Chrome version >= 74.0.3729.185
  • iOS: iOS version >= 11.0, Xcode version >= 11, Swift

Getting Started

Usage
class InitialUrlScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("Initial URL"),
      ),
      body: WebView(
        initialUrl: "https://flutter.dev",
      ),
    );
  }
}

If you want to see other examples, see example or see DartDoc.

Known issues

Run tests

  • There are tests in `example/integration_test/tests
  • You will need to launch the iOS simulator or Android emulator
make test