Observable Flutter: Building a Mason brick
Вставка
- Опубліковано 8 лют 2023
- Watch as Felix and Craig build out a brand new Mason brick and put it to use in local development.
Package of the Week on Mason → goo.gle/3YyQ8PA
Find Mason at pub.dev → goo.gle/3bka1Xk
Repository for available bricks → goo.gle/3HHARET
Watch more Observable Flutter → goo.gle/ObservableFlutter
Subscribe to Flutter → goo.gle/FlutterYT
#ObservableFlutter - Розваги
Felix, if by any chances you read this, I want to thank your for all your contributions to the Flutter's open-source community. You are a very influential person in our lives, and I always look up to you. Keep the great work! Hope I get the chance to meet you in the future!
Really nice session! Mason is just absolutely brilliant, we've been using it for about a year now. We develop a lot of Flutter apps and always want to use the same architectures. So we have isolated bricks that serve a very specific purpose. For example, a Mason Brick that adds all the files needed to use the Google Place Api. In our architecture, that means a Bloc, an ADT, a repository, and some basic widgets like search bars and suggestion boxes. It speeds up the process of building high-quality apps. There's nothing to say except that it's wonderful.
Felix is awesome. We need a freezed brick which supports json serializable and ability to input properties and types. I saw one but it lacks these. And writing freezed classes is a pita
hey there can mason edit (add) to file, i mean get_cli when you create new screen it update app_pages.dart with the new route, is that achivable with mason or i just can create new files? 🤔