Skip to content

Conversation

JacobWrenn
Copy link
Contributor

Add support for the list-style-position CSS attribute. When set to ListStylePosition.INSIDE, bullets and list numbers will be part of the text and align with it. Fixes #302

Copy link
Contributor

@ryan-berger ryan-berger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, looks good. Take a look at my other comment for some feedback before this is merged. I haven't run this yet and tested it out, but everything looks great, and I expect it works well.

I'll try to test this out sometime this week, and if everything looks fine and nothing breaks, and your code edits are ready, I'll merge this in along with a couple of other items

@JacobWrenn JacobWrenn requested a review from ryan-berger June 20, 2020 11:05
textAlign: TextAlign.right,
style: newContext.style.generateTextStyle()),
),
children: [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks much prettier! I'll test this out tomorrow and get it merged

@iampstew
Copy link

iampstew commented Jul 8, 2020

Is this now available in dart.dev now? in terms of the update version?

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

Successfully merging this pull request may close these issues.

Support for list-style-position: inside; (for centering bullets with the text)

3 participants