Comments (5)
I just change the margin of the search bar and everything is working fine now. Thanks anyway
from anim_search_bar.
@michelebanfi Great. If you face any issues, please feel to open an issue.
from anim_search_bar.
@michelebanfi thanks for bringing this issue to my notice. I’ll push a hotfix right away.
from anim_search_bar.
Hello @michelebanfi ,
I've tested the plugin just now, onSuffixTap
is working fine. Can you share your code along with your flutter doctor log.
from anim_search_bar.
code
class Search extends StatefulWidget {
@OverRide
_SearchState createState() => _SearchState();
}
class _SearchState extends State {
TextEditingController textController = TextEditingController();
@OverRide
Widget build(BuildContext context) {
return Container(
child: AnimSearchBar(
width: 400,
textController: textController,
suffixIcon: Icon(Icons.search),
onSuffixTap: () {
setState(() {
textController.clear();
});
},
));
}
}
flutter doctor
this bug occur on both and ios and android
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.2, on macOS 11.2 20D64 darwin-x64, locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.54.3)
[✓] Connected device (2 available)
! Doctor found issues in 1 category.
from anim_search_bar.
Related Issues (20)
- [bug] the widget will brings the keyboard up after call ScaffoldState.openDrawer HOT 1
- "Back" icon should be replaceable HOT 1
- onchange ? HOT 2
- Where is CallBack function on search?! HOT 2
- Please change the prefixIcon type to Widget and not Icon HOT 1
- Having Issue uning rtl. Even after setting value to true, The animation does not change from ltr HOT 3
- Feature Request: initial state closed or open optional
- new update for this? HOT 1
- how to set textInputAction: TextInputAction.search HOT 4
- The layout was break when change the size
- Detect if search bar is open or closed HOT 2
- Styling for cursor and label style HOT 1
- searchBarOpen doesn't fire onSuffixTap
- isActive, isClosed I need these boolean value [Request]
- enable Impeller and add full flutter 3.13 support
- Add Custom color for the search component HOT 1
- Feature Request: Close the search bar by code, not user click HOT 3
- [TODO] [Documentation] Update Readme
- Style and text space problem HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anim_search_bar.