[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 this issue. This error only appears when you use MediaQuery class but you haven’t positioned MaterialApp() widget correctly.
How to Make Slide and Delete Item List in Flutter App
List is the scrollable list of items of same kinds. For example, list of contact, list of city, etc. In this example, we are going to show you to build slidable list item, and whenever, user slides list item then show the action buttons. We have shown how to delete item from UI list as well as from array list.
How to Make Draggable and Expandable Floating Action Menu in Flutter
In this example, we are going to make a draggable and expandable vertical Floating Action Button (FAB) menu in Flutter. Floating Action Button menus are important components for your app to integrate which helps to make the app more beautiful and interactive.
How to Make Floating Action Button Movable With Dragging in Flutter
In Flutter, the Floating Action Button is not draggable by default. In this example, we are going to show you the best and easiest way to make a Floating Action Button Movable in Flutter App. See the example below to learn how to make the Floating Action button Draggable.
How to Execute Code on Loop With Time Interval (Timer)
In this example, we are going to show you the way to execute or call code, functions on loop with time interval. For example, you want to call some function every 5 seconds, then see the example below to learn how to set Time Interval in Flutter App.
How to run Async ’await’ Code in initState() in Flutter App
In this example, we are going to show the way to run or call asynchronous functions, codes inside initState() in Flutter Apps. Sometimes, you may need to execute async code while initializing app. But Flutter will show an error if you add ’async’ modifier to initState.
How to Listen Screen Orientation Mode Change in Flutter
In this example, we are going to show you the best way to detect or listen to the Screen Orientation mode change from Landscape to Portrait or vice versa. This kind of functionality is very important to maintain the messy UI in App. See the example below for more details.
How to set Landscape or Portrait Orientation Mode in Flutter
In this example, we are going to show you the best way to set Orientation mode in Flutter App. There are two orientations, i.e Landscape mode and Portrait mode. See the example below and learn how to set Orientation or switch Landscape mode to Portrait mode or vice versa.
How to Open Native Contact Book to Pick Phone Number in Flutter
In this example, we are going to show you the way to open native contact or address book and pick single contact from the list. These kinds of features are required while making utility apps related to contacts, SMS, phone number dialer.