Closed SonnyBlack closed 2 months ago
Hi @SonnyBlack, Thanks for filing the issue.
Looks like that properties is not added to SearchInputDecoration
I will update and publish a new release soon.
Added new properties and released in v1.1.4
@SonnyBlack If you have any questions related to this package feel free to ask, I would be happy to answer. Before you ask please make sure to go through the readme.md and if you don't find what you are looking for, You can post it here on github.
"both prefixIcon and prefixIconConstraints can't be used at the same time" ? I want uses prefixIcon and prefixIconConstraints at the same time ,because in flutter Textfield can set.
Hi @buxiaojiong thanks for bringing that up, This issue is because of the custom assert
I have removed them and published a new release v1.1.5
Hi @maheshj01 . Thanks for the very quick reply! I have just tried v1.1.5. Now I am able to use SearchInputDecoration
completely with all my settings that I passed to InputDecoration
. But, I don't know why - it does not work. I use it in combination with prefixIcon
. I also did flutter clean
- it does not help.
Here is an example of the current version in use (1.0.9)
And here is example of version (1.1.5)
The values of prefixIconConstraints/prefixIcon
are the same
@SonnyBlack new version is out 1.1.6
Thank you again for pointing this out.
Thanks a lot! Now it works as expected.
Hi, I have been using your library (1.0.9). In this version, property 'searchInputDecoration' was as 'InputDecoration' class. Now I want to update your library and I need to change it to 'SearchInputDecoration'. I can't find 'prefixIconConstraints' in it, I use it because I need to adjust icon's size (it's too big and looks very ugly). I see that 'SearchInputDecoration' extends from 'InputDecoration', but it seems like I can't to pass 'prefixIconConstraints' to it. I'm not very familiar with flutter/dart, so could someone please explain to me how I can do this. Thanks in advance.