A time picker is a popup window that allows to select a time.
We can use showTimePicker() function to display a time picker. If the user confirms the dialog then...
A date picker is a popup window that allows to select a date.
We can use showDatePicker() function to display a date picker. If the user confirms the dialog then...
A switch is a two-state input control that allows to toggle a setting between ON/OFF states.
A Switch class is used to create a switch. The onChanged callback is called...
A slider is input control that allows to select a value from within a given range.
A Slider class is used to create a slider. The minimum and maximum values...
Cupertino alert dialog is iOS-style alert dialog.
The CupertinoAlertDialog class is used to create Cupertino alert dialog. Action button that looks like standard iOS dialog button, can be created using...
An alert dialog is a popup window that is displayed in front of the current content. It informs a user about important information or asks to make a decision and...
An expansion panel is expandable container that has a header and a body. A panel has two states - collapsed or expanded. The body of the panel is only visible...
A snackbar is a small banner that appears at the bottom of the screen. A snackbar provides a short message about running processes and automatically disappears after a few seconds...
A bottom sheet is a surface that appears at the bottom of the screen. There are two types of bottom sheets:
Modal - disappears when the user clicks on the...