There are many great packages out there, almost every one of them helps you to save a lot of time in your development process. It works perfectly with freezed and json_serializable and this is why I use this “trinity” in many of my apps. Like the Android library of the same name, retrofit ⇗ makes it effortless to generate everything that is necessary for sending and receiving data from a REST API. In its basic form, it does not require any configuration, but it allows you exactly define how the serialization processes should work if you need to adapt. In combination with freezed, json_serializable ⇗ makes it more than easy to convert a Dart class to and from JSON. Together with the next two packages in the list, it forms a dream team for apps connecting to a REST API. This package generates many convenient functions for your data (model) classes and allows you to create sealed (or union) classes. Freezedīy no means a secret, and an essential package I’m using in almost all of my apps is freezed ⇗. The in_app_review ⇗ package allows you to show this dialog with next to no configuration effort needed. You can increase the number of reviews by elegantly asking your users to give you a rating from directly within the app. Once your app hits the stores, a good rating helps your app to be found by new users. I have used this library to create statistics of expenses tracked in my travel expense tracker app, Trexpense ⇗. Luckily, charts_flutter ⇗ gives you the tools you need to display your data in a well readable fashion. Nevertheless, creating charts yourself can be a tedious task. If you have a lot of data that you want to display in your app, charts are a good idea. Have you noticed that Riverpod is an acronym of Provider? If you reorder the letters of Provider you’ll get Riverpod. Unsurprisingly, this is also why I have written several blog posts on how I use Riverpod like: Tutorial: Simple Riverpod App Architecture in Flutter, Tutorial: Using Sembast with Riverpod, or Tutorial: Simple Themes in Flutter using Riverpod. For me, it’s both simple enough, yet very powerful which makes the perfect combination for my needs. There are many good solutions out there, but for me, riverpod ⇗ (respectively flutter_riverpod ⇗) is the preferred solution. State management is a topic with many opinions and strong feelings involved. The package is highly customizable yet really easy to use. You want to get rid of the boring old CircularProgessIndicator? Use the shimmer ⇗ package to create some cool placeholders while your app is loading data. Packages like these make your life so much easier □ 4. It allows you to generate all the launcher icons you need from a single source. Flutter Launcher IconsĪ similar package is flutter_launcher_icons ⇗. This comes really handy and safes you a lot of time! 3. It allows you to specify your app structure in the pubspec.yaml file and lets you generate an app stub. The flutter_flavorizr ⇗ package comes to the rescue here. If you have ever tried to set up a multi-environment (development, staging, production) application in Flutter, you probably know that it can get tricky having multiple iOS schemas, Android flavors, icons, Firebase configurations and more that you need to handle. It is simple to use, comes with many examples and includes features like guards, nested routing and also allows a lot of customization. It allows for defining your app’s routing in a declarative way (opposed to Navigator 1.0 that uses an imperative approach). Beamer ⇗ is a package that build on the Flutter Navigator 2.0 API.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |