Thanks for your suggestions.
I don’t think Dart provides a function that does this.
Alternatively you can add jQuery and call
getScript using Dart-js-Interop.
Answered By – Günter Zöchbauer
Answer Checked By – Pedro (FlutterFixes Volunteer)