Skip to content

Html default padding #424

@altherat

Description

@altherat

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions