Uploaded February 2018 | Updated November 2026, 3 hours ago
Learn how to create a custom CoordinatorLayout Behavior for views in your Android app!
In this tutorial we will create a ShrinkBehavior which will shrink a FAB whenever there's a Snackbar displayed. With approach given in this tutorial, you will be able to create any behavior you wish, whether it is rotating the FAB or doing something completely special.
Also, behaviors don't need to be applied only to floating action buttons. Any subclass of View can have a behavior as long as it is a child of CoordinatorLayout.
Get the code written in this tutorial: wp.me/p8jOJP-7S
Go to my website for more information, code examples and articles:
● resocoder.com
Follow me on social media:
● facebook.com/resocoder
● twitter.com/resocoder
Learn how to create a custom CoordinatorLayout Behavior for views in your Android app!
In this tutorial we will create a ShrinkBehavior which will shrink a FAB whenever there's a Snackbar displayed. With approach given in this tutorial, you will be able to create any behavior you wish, whether it is rotating the FAB or doing something completely special.
Also, behaviors don't need to be applied only to floating action buttons. Any subclass of View can have a behavior as long as it is a child of CoordinatorLayout.
Get the code written in this tutorial: wp.me/p8jOJP-7S
Go to my website for more information, code examples and articles:
● resocoder.com
Follow me on social media:
● facebook.com/resocoder
● twitter.com/resocoder


![Flutter Firebase & DDD Course [18] - Note Form Bloc
📗 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
Theres only one thing left before creating the UI for displaying, creating and updating notes. We need to finish the application layer by creating a NoteFormBloc.
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 [18] - Note Form Bloc](https://i.ytimg.com/vi/QjPuAHttTIo/mqdefault.jpg)


![Flutter Firebase & DDD Course [1] – Domain-Driven Design Principles
📗 Learn from the written tutorial 👇👇
https://resocoder.com/firebase-ddd-flutter-1
📧 Get Flutter news 📰 and resources:
👉 http://flutter.education
👨💻 Do you write good code? Find out now!
https://resocoder.com/good-code-quiz
Firebase 🔥 allows developers to get their apps working quickly. Flutter 💙 does the same thing. But, as it goes in life, trade-offs are everywhere. Sure, you can hack something together in a dash of enthusiasm but this initial excitement will fade away as soon as you get totally lost in your own code.
Flutter apps need structure that is easy to orient yourself in, testable and maintainable. It also wouldnt hurt if the way you architect your Flutter apps allows for adding new features without a headache. Especially with a client-centric service such as Firebase Firestore, its extremely important to keep your code clean. Lets do it by following the principles of Domain-Driven Design.
Were going to build a fairly complex note-taking application featuring things such as:
- Real-time Firestore data Streams
- Extensive data validation for a rich user experience
- Google & email + password authentication
- Reorderable todo lists and much more
Go to my website for more information, code examples, and articles:
● https://resocoder.com
Follow me on social media:
● https://twitter.com/resocoder
● https://instagram.com/resocoder
● https://www.facebook.com/resocoder
#Flutter #Firebase #DDD Flutter Firebase & DDD Course [1] – Domain-Driven Design Principles](https://i.ytimg.com/vi/RMiN59x3uH0/mqdefault.jpg)




