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

Add hintStyle for empty display #6

Open
cezaryjk opened this issue Aug 1, 2022 · 1 comment
Open

Add hintStyle for empty display #6

cezaryjk opened this issue Aug 1, 2022 · 1 comment
Assignees

Comments

@cezaryjk
Copy link

cezaryjk commented Aug 1, 2022

Hi,
Just to show zero for cleared display the same way as "regular" result I would suggest to use hintStyle:
Maybe like this:
decoration: InputDecoration(
border: InputBorder.none,
hintText: '0',
// CK
hintStyle: TextStyle(fontSize: 40.0),
// end CK
),

Maybe with use of variable for display fontSize?
What do you think?

BR
Cezary

@Gperez88 Gperez88 self-assigned this Aug 5, 2022
@Gperez88
Copy link
Owner

Gperez88 commented Aug 5, 2022

thanks for your feedback, i will check to put on next 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

No branches or pull requests

2 participants