Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to use javascript in flutter

<script>
function alertMessage(text) {
    alert(text)
}
</script>

import 'dart:js' as js;
js.context.callMethod('alertMessage', ['Flutter is calling upon JavaScript!']);
Source by fireship.io #
 
PREVIOUS NEXT
Tagged: #javascript #flutter
ADD COMMENT
Topic
Name
4+2 =