Uploaded January 2021 | Updated December 2026, 3 hours ago
π Learn from the written tutorial ππ
resocoder.com/flutter-search-bar
π§ Get Flutter news π° and resources:
π http://flutter.education
π¨βπ» Do you write good code? Find out now!
resocoder.com/good-code-quiz
Searching through all kinds of various content in your Flutter app is something you'll likely have to implement one day. A successful search implementation needs basically two things - a usable search history and also the search bar widget. Now, we're going to take a look at the most extensible and good-looking way to do this.
We're going to build a simple project that will contain all of the basic building blocks of a good search implementation. The package that we're going to use for the UI part is called material_floating_search_bar. There are many other packages and even the built-in showSearch function, but the package we're using is one of the best ones out there in terms of customizability and it also looks really good out of the box.
When it comes to the search history part, we're going to keep it simple. We could introduce all kinds of third-party dependencies like different state management packages and all kinds of persistent databases. However, we're going to implement the history only inside a StatefulWidget and as an in-memory List. Yet, as you'll see in a little while, the code will be easily applicable to any state management and database solution you like.
Go to my website for more information, code examples, and articles:
β resocoder.com
Follow me on social media:
β instagram.com/resocoder
β facebook.com/resocoder
β twitter.com/resocoder
π Learn from the written tutorial ππ
resocoder.com/flutter-search-bar
π§ Get Flutter news π° and resources:
π http://flutter.education
π¨βπ» Do you write good code? Find out now!
resocoder.com/good-code-quiz
Searching through all kinds of various content in your Flutter app is something you'll likely have to implement one day. A successful search implementation needs basically two things - a usable search history and also the search bar widget. Now, we're going to take a look at the most extensible and good-looking way to do this.
We're going to build a simple project that will contain all of the basic building blocks of a good search implementation. The package that we're going to use for the UI part is called material_floating_search_bar. There are many other packages and even the built-in showSearch function, but the package we're using is one of the best ones out there in terms of customizability and it also looks really good out of the box.
When it comes to the search history part, we're going to keep it simple. We could introduce all kinds of third-party dependencies like different state management packages and all kinds of persistent databases. However, we're going to implement the history only inside a StatefulWidget and as an in-memory List. Yet, as you'll see in a little while, the code will be easily applicable to any state management and database solution you like.
Go to my website for more information, code examples, and articles:
β resocoder.com
Follow me on social media:
β instagram.com/resocoder
β facebook.com/resocoder
β twitter.com/resocoder



![Flutter Firebase & DDD Course [5] β Sign-In Form Logic (Bloc)
π Learn from the written tutorial ππ
https://resocoder.com/firebase-ddd-flutter-5
π§ Get Flutter news π° and resources:
π http://flutter.education
π¨βπ» Do you write good code? Find out now!
https://resocoder.com/good-code-quiz
Events and states for the sign-in form BLoC are in place after the previous part. Its time to finally write some logic in the application layer that will be responsible for gluing the UI presentation layer together with the other layers of the app.
The logic performed inside BLoCs is focused on transforming incoming events into states. For example, a raw String will come in from the UI and a validated EmailAddress will come out.
Go to my website for more information, code examples, and articles:
β https://resocoder.com
Follow me on social media:
β https://instagram.com/resocoder
β https://www.facebook.com/resocoder
β https://twitter.com/resocoder Flutter Firebase & DDD Course [5] β Sign-In Form Logic (Bloc)](https://i.ytimg.com/vi/4o-ZwjqAveM/mqdefault.jpg)
![Flutter Firebase & DDD Course [11] - Note Value Failures
π Get the code ππ
https://github.com/ResoCoder/flutter-ddd-firebase-course
π§ Get Flutter news π° and resources:
π http://flutter.education
π¨βπ» Do you write good code? Find out now!
https://resocoder.com/good-code-quiz
The mundane and repetitive parts of an app, such as authentication, are already finished. Its time to focus on the true functionality of the app and start building the notes feature.
Go to my website for more information, code examples, and articles:
β https://resocoder.com
Follow me on social media:
β https://instagram.com/resocoder
β https://www.facebook.com/resocoder
β https://twitter.com/resocoder Flutter Firebase & DDD Course [11] - Note Value Failures](https://i.ytimg.com/vi/55aJYYJlnrA/mqdefault.jpg)


![Flutter Firebase & DDD Course [10] - Navigation Based on Auth State
π Get the code ππ
https://github.com/ResoCoder/flutter-ddd-firebase-course
π§ Get Flutter news π° and resources:
π http://flutter.education
π¨βπ» Do you write good code? Find out now!
https://resocoder.com/good-code-quiz
Build command: flutter pub run build_runner watch delete-conflicting-outputs
We can already find out if the user is signed in or not. Now we need to take him to the appropriate page upon launching the app. For this to work, were going to create a SplashPage and also an AuthBloc.
Go to my website for more information, code examples, and articles:
β https://resocoder.com
Follow me on social media:
β https://instagram.com/resocoder
β https://www.facebook.com/resocoder
β https://twitter.com/resocoder Flutter Firebase & DDD Course [10] - Navigation Based on Auth State](https://i.ytimg.com/vi/7qMADWW4gts/mqdefault.jpg)
![Flutter Firebase & DDD Course [32] - Security Rules & Finish!
π Get the code ππ
https://github.com/ResoCoder/flutter-ddd-firebase-course
π§ Get Flutter news π° and resources:
π http://flutter.education
π¨βπ» Do you write good code? Find out now!
https://resocoder.com/good-code-quiz
The whole Flutter app is already fully developed. The only problem is that the Firestore database is now open to any attacks since all of the data is public. Lets fix it by writing a couple of lines of security rules.
Go to my website for more information, code examples, and articles:
β https://resocoder.com
Follow me on social media:
β https://instagram.com/resocoder
β https://www.facebook.com/resocoder
β https://twitter.com/resocoder Flutter Firebase & DDD Course [32] - Security Rules & Finish!](https://i.ytimg.com/vi/86dqg6ryx_M/mqdefault.jpg)

