How To Create a Communication Bridge Between Flutter And JavaScript

Written by tomerpacific | Published 2020/12/06
Tech Story Tags: flutter | flutter-webview | communication | javascript | tech | backend | application | android

TLDR Flutter does NOT have built in support for embedded WebViews. Unlike a native application in either Kotlin or Swift, you cannot just add a WebView component to your application out of the box. All local assets in a Flutter application need to reside inside an assets directory in your main project hierarchy by right clicking in the left side panel and choosing New → Directory. Create a new Flutter project, use the webview_flutter package to be able to use WebView. Add the dependency to our pubspec.yaml.via the TL;DR App

no story

Published by HackerNoon on 2020/12/06