I ended up using loadData with a baseUrl. That way I still load the url with the custom data that I need.
Besides, one can also insert values using evaluateJavascript:
onChanged: (String value) async {
await webView.evaluateJavascript(
source: "document.getElementById('element-id').value = '$value'; ");
},
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…