Flutter Guides
Learn to solve different problems while building Andorid and iOS app using Flutter Framework. Get the Flutter code examples to build User Interface and functionalites in Apps.
Valid way to Generate Nested or Complex JSON data using PHP for Flutter
We have certain ways to generate Nested JSON with PHP but, when We come to Flutter App Development, that causes an error while parsing.…
How to Solve ’Insecure HTTP is not allowed by platform’ Error
Are you getting ʺInsecure HTTP is not allowed by platformʺ error while running your Flutter APP. This is caused by insecure ʺHTTPʺ or insecure…

[Solved] OS Error: Connection refused, errno = 111 in Flutter
In this post, we are going to show you how to solve ʺUnhandled Exception: DioError [DioErrorType.other]: SocketException: OS Error: Connection refused, errno = 111,…
How to Start Emulator Direct From VS Code or Terminal
In this post, we are going to show you how to start Android or iOS emulators directly from Visual Studio Code (VS Code) or…

How to Show Automatic Internet Connection Offline Message in Flutter
You have to use the ‘Connectivity Flutter Package’ to achieve this feature on your App. This package helps to know either your device is…

How to Detech VPN Connection is Active in Flutter
In this guide, we are going to show you how to detect if a VPN (Virtual Private Network) connection is active or not with…

[Solved] No MediaQuery widget found Error in Flutter
Are you getting ’No MediaQuery widget found’ error exception while using MediaQuery class in your Flutter App then see the explanation below to solve…

[Solved] ’Overflowed by Pixels’ Error on Keyboard Popup in Flutter
In this example, we are going to show you the way to solve ’bottom overflowed by pixels’ error on the Keyboard popup or on…

[Solved] Incorrect use of ParentDataWidget Error in Flutter
In this post, we are going to show you the cause and how to solve the ʺIncorrect use of ParentDataWidgetʺ error in Flutter. This…

[Solved] LateInitializationError: Field has not been initialized Error in Flutter
In this post, we are going to show you how to solve ʺLateInitializationError: Field has not been initialized Error in Flutterʺ error in Flutter…

How to Add Radio Button in Flutter
In this example, we are going to show you how to add a radio button and use it in groups with options in Flutter…
How to Check Key Index or Value Exists on Array List in Flutter/Dart
In this example, you will learn how to check the Key index or value exists or not in Array List in Flutter or Dart.…

How to Add Range Slider in Flutter
In this example, we are going to show you how to add a range slider for two values with the RangeSlider widget in Flutter.…

How to set Font Shadow on Text Widget in Flutter
In this example, we will show you how to change the font shadow of the Text widget in Flutter. Font shadow gives a more…

How to Prevent Dialog from Closing Outside Barrier Touch in Flutter
In this example, we are going to show you how to prevent the dialog from dismissing on touch at the outside barrier of showDialog…

How to Dismiss showDialog in Flutter
In this example, we are going to show you how to close showDialog from the same code block or close from the external code…

How to Create Table with Row and Column in Flutter
The table is very important component to show data in an organized way, which you may need while building an app. In Flutter, you…
How to convert String to int or double in Dart/Flutter
In this example, we are going to show you how to convert or parse the String variables to int or double in Dart and…

How to Disable/Enable Button in Flutter
In this example, we are going to show the way to disable and enable programmatically buttons like Elevated, Outline, IconButton in Flutter Apps. See…

How to Rotate Widget in Flutter
In this example, we are going to show you how to rotate widgets with different methods in Flutter, such as using Transform.rotate(), RotationTransition(), RotatedBox().

How to get Device Screen Size ’Height and Width’ in Flutter App
In this example, we are going to show you the easiest way to get device screen width and height in the Flutter app. See…

NodeMCU: Turn ON/OFF LED using WebSocket on Mobile App
Are you making an IoT Android/iOS app to control NodeMCU (ESP8266)? I recommend you to use WebSocket to communicate between App and NodeMCU. If…

How to set Label and Hint on TextField with Style in Flutter
In this example, we are going to show you the way to set hint and label text on TextField widget in Flutter with style…
How to Run Code After Time of Delay in Flutter
While building an app, you may need to execute code after a time delay. In this example, we are going to show you the…