injectCSSFileFromUrl method

Future<void> injectCSSFileFromUrl({
  1. required String urlFile,
  2. Map<String, dynamic>? cssLinkHtmlTagAttributes,
})

Implementation

Future<void> injectCSSFileFromUrl(
    {required String urlFile,
    Map<String, dynamic>? cssLinkHtmlTagAttributes}) async {
  _callMethod("injectCSSFileFromUrl", [
    urlFile,
    cssLinkHtmlTagAttributes != null
        ? js.JsObject.jsify(cssLinkHtmlTagAttributes)
        : null
  ]);
}