flutter_charset_detector_web 1.2.0 copy "flutter_charset_detector_web: ^1.2.0" to clipboard
flutter_charset_detector_web: ^1.2.0 copied to clipboard


Web implementation of the flutter_charset_detector plugin.

flutter_charset_detector_web #

The Web implementation of flutter_charset_detector.

Usage #

To make it work properly on the Web platform, you need to add the jschardet.min.js file inside the of your web/index.html file:

    <!-- ... -->
    <script type="application/javascript" src="/assets/packages/flutter_charset_detector_web/assets/web/jschardet.min.js" defer></script>
    <!-- ... -->

This package is endorsed, which means you can simply use flutter_charset_detector normally. This package will be automatically included in your app when you do.