Category: Flutter

  • Mixin and extend in Flutter, E-Com App 7

    What is the difference between mixin and extend in Flutter? Let’s understand the difference because we’ve been building an e-commerce app. As a result, we don’t want to skip any step. The mixin keyword plays an important role in Dart, as well as in Flutter. However, the extend keyword is quite common. Because we’re more…

  • Flutter provider fetch data, E-Com app 6

    How does the provider in Flutter fetch data and we display them? That’s our first concern as we’ve been building the e-commerce app. First thing first. Firstly, we need the Provider package dependency. Therefore let’s add the dependency to the pubspec.yaml file. Secondly, make sure the package is the latest. Finally the most important thing…

  • Manage State in Flutter, E-Com App 5

    Two questions always haunt Flutter beginners. What is the State of Flutter? And, how to manage the State of Flutter? As we’ve building an ecommerce app from scratch, we should answer these questions at the very beginning. Otherwise we cannot follow the workflow of code. However, we won’t take much time.  Because we have a…

  • Modal Route Flutter, E-Com App 4

    What is the Modal Route in Flutter? How can we pass arguments from one screen to the other while navigating? We’ll try to answer these questions in this section. In the previous section we have seen how we can navigate to a new screen with the product detail. Certainly without the Modal Route class, it…

  • Navigation in Flutter, E-Commerce App 3

    Although we’ve discussed navigation in Flutter before, it’s still relevant in our e-commerce app. Firstly, we’ve seen how we can manage themes across the app with the latest Material You design.  Secondly, we have managed to display products on our home page with the help of a provider package. Therefore we have gone over the…

  • Flutter backend local, E Commerce app – 2

    We’ve discussed how to use Flutter backend before. There are several options. Using a local file is certainly one of them.  In this e-commerce app, we’re going to use local files as well. As a result, what we’re displaying as products on the home page, are objects that we’ve instantiated locally. As the first step,…

  • Flutter app development, E Commerce App first step

    In our previous section we have an introduction to Flutter app development. We’ll build an e commerce app, step by step. In the beginning we used a simple theme. As a result, we have our first screenshot like the following. We can take a look at the first branch where we have the initial code.…

  • E Commerce App in Flutter, A Step by Step Guide

    How to build an E Commerce app in Flutter from scratch? We will try to do it step by step.  However, it will certainly take some time. Because we are trying to build this E Commerce Flutter app in a way, so that a beginner might understand the steps. However, if you have already done…

  • Learn 10 Flutter Apps in 100 Days

    We’ve already learned how to build Flutter apps. And as we progress we’ll build more Flutter apps.  Certainly Flutter transforms the entire app development process. As a result, we can not only build mobile, web, desktop and embedded apps from a single codebase, but we can test and deploy them. Meanwhile the good news is…

  • Build in Flutter, Without set state and Stateful Widget

    How does the build method work in Flutter? In this section we’ll take a look at the core concept of Flutter. In our previous section we have seen a simple Stateful widget where we have used a counter to press the button and change the internal state of the object. As a result, it calls…

  • Set State in Flutter, build method and Internal State

    What does the set state method mean in Flutter? In this section we’ll try to understand the topic from a beginner’s point of view.  If you have enough experience in Flutter, you may skip this section. Or, applying your experience if you find any inconsistency in this explanation, please express your view in the comment…

  • Material You Flutter, Next Generation Design

    When we want to build beautiful, scalable Flutter apps across platforms, the Material You Design is the best choice.  The good news is Flutter 3.0 has good support for using Material You which is the next generation design. We have been discussing Material You or Material Design 3 for Flutter in the last couple of…

  • Navigation Bar in Flutter, Material 3 Component

    In our previous discussion we have seen what is Material You or Material 3 design principles. Moreover, we have also learned that Flutter 3.0 has adopted various Material 3 components. The new Navigation Bar Widget is such a Material 3 component.  However, the first question that comes to mind is whether the new Navigation Bar…

  • Material you flutter 3.0, How it works

    Firstly, in this brief discussion we will take a look at Material You, or Material 3 design which is one of the greatest changes that takes place in Flutter 3.0. Material You is the new specification which we know by another name Material You. Secondly, Material You is more fluid and expressive. But, finally we…

  • Set theme in Flutter, Best Practices in Material 3

    How do we set the theme in Flutter 3.0? Moreover, what are the best practices to use tools and APIs introduced in Material 3.  We’ve tried to make the steps as simple as possible so the beginners can also follow along. Therefore, in this section we will learn to write a Flutter app that sets…

  • Notification class in Flutter, How to notify child widgets

    How do we use the Notification class in Flutter? In this section we will use Notification class in many ways. Firstly, we will use it to pass a custom color scheme across the Flutter app. As a result we have to use the ValueNotifier class in accomplishing the task. In addition we’ll also use the…

  • Value Notifier Flutter and Material Design 3

    In our previous Firebase, Provider Blog app section, we have used Material Design 3 to customise the theme. However, at the entry point of our Flutter app, we’ve also used the ValueNotifier class.  Certainly, in our Flutter app, the ValueNotifier class plays an important role to customize the theme across the whole widget tree. Now…

  • Material 3 : Flutter Firebase, Provider Blog App Final

    Material 3, which is a short form of Material Design 3, is the next generation theme for Flutter apps. According to the Google team, it is the most expressive and adaptable design system yet. How will you adopt Material 3, and apply a custom theme across your Flutter app, depends on you. In other words,…

  • Material 3 Flutter : A Dark Theme in Web App

    We’ve been building a Firebase, Firestore and Provider based web app where we have already used Material design 3. Firstly, what is Material design 3? It’s the next generation design that will rule the cross platform application world. Secondly, in our previous section we have changed the look of the existing web app. However, we…

  • Material design 3 Flutter : A Light Theme

    How to change design and color of Flutter web app What is Material design 3? How would we apply this theme to new Flutter 3.0? Well, let’s try to answer the questions one after another. Firstly, Material design 3 is the next generation design language. It’s good news that Flutter has supported Material design 3 from…

  • Theme color Flutter, how to use in web app

    In Flutter 3.0 theme color we’ll use Material design 3. Certainly we will adopt the same principle in our ongoing web app. However, we need to understand how we can configure the overall visual Theme for a MaterialApp or a widget subtree within the app. That’s the first step. In fact, this section will explain…