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

Html default padding #424

Closed
altherat opened this issue Oct 12, 2020 · 1 comment
Closed

Html default padding #424

altherat opened this issue Oct 12, 2020 · 1 comment

Comments

@altherat
Copy link

Is there a reason that the Html widget has a default padding? Is there a way to remove it?

Example app:

void main() => runApp(App());

class App extends StatelessWidget {

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(),
        body: Column(
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            Text('Example1'),
            Html(data: 'Example2'),
          ],
        )
      ),
    );
  }

}

You can see the difference in padding between the Text and Html.

Thanks!

@erickok
Copy link
Collaborator

erickok commented Oct 13, 2020

Duplicate of #329 and #394.

@erickok erickok closed this as completed Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants