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

Wrong placement #203

Closed
SBNTT opened this issue Dec 30, 2019 · 7 comments
Closed

Wrong placement #203

SBNTT opened this issue Dec 30, 2019 · 7 comments
Labels
more-info-needed More information is needed to resolve the issue. Will be closed if no response is received.

Comments

@SBNTT
Copy link

SBNTT commented Dec 30, 2019

import 'package:flutter/material.dart';
import 'package:flutter_html/flutter_html.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {

  Widget build(BuildContext context) {
    return MaterialApp(
      home: HomePage(),
      theme: ThemeData.light(),
    );
  }

}

class HomePage extends StatefulWidget {

  _HomePageState createState() => _HomePageState();

}

class _HomePageState extends State<HomePage> {

  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("html text"),
        centerTitle: true,
      ),
      body: Html(
        data: "<h1>zerze zero zero zero </h1>"
            "<h2>zero rzer zer</h2>"
            "<h3>ezr ezr r</h3>"
            "<b>ezr zero zer</b>o<b> zrz</b><b><i>erezr ezr </i></b><b>ezr </b>zr r<i> zrzr </i>zr zr zero<br>"
            "<ul>"
            "<li>dsfsddsf</li>"
            "<li>dsf SF </li>"
            "<li>dsf </li>"
            "</ul>"
            "<ol>"
            "<li>dsf sdf</li>"
            "<li>dsf f</li>"
            "</ol>"
            "dsf fdss sdf dsf f"
            "<br>"
            "dsf dsf",
      ),
    );
  }

}

Capture d’écran 2019-12-30 à 17 16 36

@Sub6Resources
Copy link
Owner

Which flutter_html version are you using?

@Sub6Resources Sub6Resources added the more-info-needed More information is needed to resolve the issue. Will be closed if no response is received. label Jan 2, 2020
@SBNTT
Copy link
Author

SBNTT commented Jan 2, 2020

Latest on pub

@Sub6Resources
Copy link
Owner

Sub6Resources commented Jan 2, 2020 via email

@SBNTT
Copy link
Author

SBNTT commented Jan 3, 2020

it only affects 0.11.1.

@Sub6Resources
Copy link
Owner

I recommend migrating to 1.0.0-pre.1.

@ryan-berger
Copy link
Collaborator

@SBNTT Has this been fixed with 1.0.0-pre.1 or 1.0.0? If so, I'll close the issue

@erickok
Copy link
Collaborator

erickok commented Feb 8, 2021

This was fixed a long time ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more-info-needed More information is needed to resolve the issue. Will be closed if no response is received.
Projects
None yet
Development

No branches or pull requests

4 participants