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

[bug] Flutter 3.0 padding text down #1

Closed
RoyalCoder88 opened this issue May 13, 2022 · 3 comments
Closed

[bug] Flutter 3.0 padding text down #1

RoyalCoder88 opened this issue May 13, 2022 · 3 comments

Comments

@RoyalCoder88
Copy link

RoyalCoder88 commented May 13, 2022

Hi friends,

Thanks for your great package I got an issue after upgrading to flutter 3.0, the text floating down from the background :( can you please help me fix this issue? Thanks in advance!

My widget:
Positioned( left: 15, top: 10, child: Container( alignment: Alignment.center, //decoration: , width: 150, height: 40, color: Colors.transparent, child: RoundedBackgroundText( 'TEXT ' , style: const TextStyle( fontSize: 16, fontWeight: FontWeight.w900), backgroundColor: Colors.orangeAccent .withOpacity(0.9), textAlign: TextAlign.center, maxLines: 1, innerRadius: 1.0, outerRadius: 6.0, // textHeightBehavior: // const TextHeightBehavior( // applyHeightToFirstAscent: false, // applyHeightToLastDescent: false, // leadingDistribution: // TextLeadingDistribution // .even, // ), ),

Screenshot 2022-05-13 145414

@bdlukaa
Copy link
Owner

bdlukaa commented May 20, 2022

flutter/flutter#104153

@bdlukaa
Copy link
Owner

bdlukaa commented Jul 28, 2022

According to flutter/flutter#104153 (comment), this issue has been fixed on the Flutter master branch

@bdlukaa
Copy link
Owner

bdlukaa commented Jul 30, 2022

Closing this as resolved! It is working on the Flutter master channel

example 29_07_2022 21_58_41

@bdlukaa bdlukaa closed this as completed Jul 30, 2022
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