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 {
  jsWebView?.injectCSSFileFromUrl(
      urlFile.toJS, cssLinkHtmlTagAttributes?.jsify());
}