How to Fetch Data from Internet? Flutter Tutorial

fetch data from internet flutter

Hey Guys, In this article I will teach you how to fetch data from the internet in Flutter. We will be using the HTTP package to get the data from the API and then get the required data by decoding the response in JSON format. I have also made a Speed coding video showing the … Read more

Flutter Error: The Android Gradle plugin supports only kotlin-android-extensions Gradle plugin version 1.6.20 and higher

image 2023 02 06 145353431

This is a new flutter error I recently came across and wasn’t able to find solutions in Stack Overflow or other forums and sites. What was the problem? As you can see above, the package info plus package have a Kotlin version 1.6.10, however, the required version for the program to run was 1.6.20 and … Read more

[Solved] Don’t use one refreshController to multiple SmartRefresher

SmartRefresher

Don’t use one refreshController to multiple SmartRefresher, It will cause some unexpected bugs mostly in TabBarView ‘package:pull_to_refresh/src/smart_refresher.dart’: package:pull_to_refresh/src/smart_refresher.dart:1 Failed assertion: line 608 pos 12: ‘_refresherState == null’ The issue was using one refreshController to multiple SmartRefresher. The solution was quite simple: i.e Define another instance for another smart refresher. However, my attention was focused on … Read more

How to Create a Dialog Box in Flutter? DialogBox with Radio Button

image 1

Hello Everyone, In this article, I will be discussing how you can create a dialog box in Futter. Dialog Box or Popup Box is important in Flutter. They are used to show additional information to the user and for other many purposes. The dialog box you see in this article will be the popup box … Read more