Tag: Flutter
-
Mastering Custom Flutter Widgets: A Step-by-Step Guide
Why Custom Widgets? Step 1: Planning and designing Begin with vision of the custom widget. In this case, we want to create a card widget that can display an image, a headline, and some text. Think about the design in figma or just in your head, define how it should display with different screeen sizes,…
-
Freezed+json_serializable Package
What can Freezed+json_serializable packages do for you? Setup 1. Import dependencies Pubspec.yaml should look like this 2. Exclude generated files from analysis 3. Watch with build runner This will start watching your code and as long as the terminal session is opened it will generate the code upon our changes 4. Create class with model…
-
Powerful Flutter packages
What are flutter packages? Flutter packages are useful pre-made bundles of code that make it easy to add features and functionality to your Flutter app without starting from scratch. Let’s explore some of them and how they can supercharge your app development. Packages I Love 1. flutter_login Simplifies the implementation of user authentication and login…
-
Statefull vs Stateless Flutter widget
Stateless Ideal for: Static content that doesn’t change over time, such as labels, icons, or static images Pros: Cons: StateFull Ideal for: Dynamic content that needs to change or respond to user interactions, such as forms, counters, or lists Pros: Cons:
-
Flutter_riverpod package
I am writing this post, because I belive it is important to have some solid tutorial that explains something little simpler than the rest. I learned the things that i know from reso coder and other youtube tutorials What is Riverpod? Riverpod is a state management solution for flutter/dart. It is scalable and if you…