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

DropCapText adds extra line at the bottom #24

Open
PavelTurk opened this issue Dec 15, 2022 · 0 comments
Open

DropCapText adds extra line at the bottom #24

PavelTurk opened this issue Dec 15, 2022 · 0 comments

Comments

@PavelTurk
Copy link

This is my code:

     DropCapText(
      "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam id rhoncus urna." ?? "",
      style: TextStyle(fontSize: 16, color: Colors.black87, height: 1.1),
      dropCapPadding: EdgeInsets.only(right: Constants.PADDING),
      maxLines: 30,
      forceNoDescent: true,
      dropCap: DropCap(
          width: 36,
          height: 36,
          child: Icon(
            Icons.handshake_outlined, size: 36,
            color: Colors.black87,
          ),
      )
    ),
    Container(
      color: Colors.orange,
      height: 12,
      child: Row(),
    ),

And this is the result:

Screenshot from 2022-12-15 12-11-37

As you see there is an extra line at the bottom of DropCapText. Can anyone say how to remove it?

shahbajjamil added a commit to shahbajjamil/drop_cap_text that referenced this issue Dec 7, 2023
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

1 participant