Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Readme import wrong #1442

Open
bendangelo opened this issue Sep 17, 2024 · 0 comments
Open

[BUG] Readme import wrong #1442

bendangelo opened this issue Sep 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@bendangelo
Copy link

import 'package:flutter_html_svg/flutter_html_svg';

Widget html = Html(
  data: myHtml,
  extensions: [
    SvgHtmlExtension(),
  ],
);

On the readme this import statement was wrong for me. I had to add '.dart' like so:
import 'package:flutter_html_svg/flutter_html_svg.dart';

Maybe I'm doing something wrong I don't know.

@bendangelo bendangelo added the bug Something isn't working label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant