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

Textfield's InputDecoration border does not work #104

Open
jonas-martinez opened this issue May 17, 2022 · 0 comments
Open

Textfield's InputDecoration border does not work #104

jonas-martinez opened this issue May 17, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@jonas-martinez
Copy link
Contributor

jonas-martinez commented May 17, 2022

Textfield's InputDecoration border does not work.
The code below should be applying the properties to the border as per Flutter's documentation but it does not work.

TextField(
          decoration: InputDecoration(
            border: OutlineInputBorder(
              borderSide: BorderSide(width: 10),
            ),
          ),
        ),

A workaround is to use the errorBorder, focusedBorder, focusedErrorBorder, disabledBorder, enabledBorder properties to define the border of the textfield. This is so complex to use that we need to find a solution to that, maybe by filing an issue to flutter.

@jonas-martinez jonas-martinez added the enhancement New feature or request label May 17, 2022
@jonas-martinez jonas-martinez transferred this issue from another repository May 17, 2022
@jonas-martinez jonas-martinez added bug Something isn't working and removed enhancement New feature or request labels May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🟡 Backlog
Development

No branches or pull requests

1 participant