Getx is much easier and beginners friendly. With Getx you just need to know about some basic concept like GetBuilder, Obx, obs, Update() and some routing functions. And that’s all. With BLoc you must understand what is stream, sink, Provider and things like that. But these things are hard for beginners to grasp and it…
Flutter setState and callback function
Flutter callback function could be scary idea for beginners. Here I explained everything in detail what you need create a callback function. Using callback function we can pass data between classes. As we pass data, we can trigger new rebuild of UI using new data. Callback functions get trigged when certain events happen. Here we…
Getx Worker
Workers should only be called using the onInit or onReady method (depending on the situation).You should never, under any circumstances, call a worker within a build method, in fact, according to official Flutter documentation, builder methods should only receive pure widgets. I have no problem inserting internal variables, but calling methods is definitely prohibitive. onInit…
Pubspec.yaml error A package may not list itself as a dependency.
You get this error if you try to install a package. It happens if your project name is same as your flutter dependency name. In my case I was installing flutter_bloc and my project name was flutter_bloc too. So I got error pubspec.yaml: A package may not list itself as a dependency.
Is flutter difficult to learn?
If you have some programming experience then flutter would not be that difficult. Sometimes programmer with HTML or web programming background might find flutter is easy to start with. If you directly want to start with flutter programming, then I would suggest you start with basic concepts like Row, Column, Container, Image and Text widget….
Flutter CheckBoxListTile
In this tutorial you will learn how to create flutter category selection for multiple selection. We will use Getx for ListView. We will create object instances inside map. In the controller we will create the the map and we will also use Map’s where() and Contain methods. First we will create a model and then…
Build a Mobile Audio Player With Flutter and Dart Step by Step
You will learn how to build a book reading or listening app UI from the scratch step by step. This would be flutter crash course for beginners how to build flutter app using beautiful UI. This is first part of the tutorial. This tutorial is suitable for e-book or audio player, education app building. You…
Flutter Animation API
Flutter Animation API deserves more explanation.
Flutter Scaffold
We removed everything from the default flutter class, and created a custom one. But we kept the default file material.dart. Scaffold class could be understood like as a skeleton for building simple apps quickly. It comes with some default objects and classes which you can use them easily. We used the Scaffold class, since it…
Flutter unimplemented handling of missing static target
It happens when the stateful widgets suddenly become stateless. All you need to do is to restart your app. And you would be good to go. Learn Building a Video Player