Giter Club home page Giter Club logo

Comments (5)

michelebanfi avatar michelebanfi commented on August 11, 2024 1

I just change the margin of the search bar and everything is working fine now. Thanks anyway

from anim_search_bar.

Imgkl avatar Imgkl commented on August 11, 2024 1

@michelebanfi Great. If you face any issues, please feel to open an issue.

from anim_search_bar.

Imgkl avatar Imgkl commented on August 11, 2024

@michelebanfi thanks for bringing this issue to my notice. I’ll push a hotfix right away.

from anim_search_bar.

Imgkl avatar Imgkl commented on August 11, 2024

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.

michelebanfi avatar michelebanfi commented on August 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.