In Flutter, Tooltip widget is a material design tooltip used to let users know about the functionality of a button or a widget in general. When a widget is equipped with a tooltip, if you long-press the widget, the tooltip appears as a label that floats. Tooltip is usually used to increase the accessibility of…Read More Tooltip Example in Flutter
In this tutorial, you will learn how to create an AlertDialog with a TextField in Flutter. We will go through all the steps and at the end, you will have a complete code example that displays an alert dialog with a text field. Creating AlertDialog The basic code to create an AlertDialog widget with a…Read More AlertDialog with a TextField in Flutter
In this tutorial, you will learn how to create and display an Alert Dialog in Flutter. Creating Alert Dialog Alert Dialog is a pop-up widget in Flutter that can be used to display a message to the user. Below is a code example in Flutter that creates a very simple alert dialog with a title,…Read More Flutter. Alert Dialog Example.
In this tutorial, we will go through a couple of different ways of implementing a Checkbox in Flutter. A Checkbox is a type of widget that holds a boolean value. The two widgets we will use in this tutorial are: Checkbox, and CheckboxListTile Checkbox In the code example below, the Checkbox widget is used as a child of…Read More Checkbox Example In Flutter
In this Flutter tutorial, you will learn how to handle button tap events. The two most commonly used button events are onTap and onPressed. In the code snippets below, I will use the onPressed event most of the time. You can use the onTap event just the same way as onPressed. All button type widgets have…Read More Handle Button Tap Event In Flutter
Welcome to today’s tutorial where we will talk about buttons with icons in Flutter. As the slogan of Flutter says “It’s all widgets”, its no exception in this case. There are multiple ways of making and incorporating a button with icons in Flutter. We will start with the most obvious one which is the IconButton…Read More Buttons with Icons in Flutter