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

How to resize UnderlineDecoration? #9

Closed
rrifafauzikomara opened this issue Aug 13, 2019 · 1 comment
Closed

How to resize UnderlineDecoration? #9

rrifafauzikomara opened this issue Aug 13, 2019 · 1 comment

Comments

@rrifafauzikomara
Copy link

My code like this:

PinFieldAutoFill(
            keyboardType: TextInputType.phone,
            autofocus: true,
            codeLength: 4,
//            currentCode: _code,
            decoration: UnderlineDecoration(
              color: color_text_grey,
              textStyle: TextStyle(
                fontSize: MediaQuery.of(context).size.width / 10,
                color: color_text_black,
                fontWeight: FontWeight.bold,
              ),
            ),
          ),

And the result like this:

Screen Shot 2019-08-13 at 14 26 44

How to resize property "UnderlineDecoration" ?

@jaumard
Copy link
Owner

jaumard commented Sep 26, 2019

Look like it's an issue you should ask here https://github.com/TinoGuo/pin_input_text_field as it's the package providing this decoration, I personally have no idea sorry

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