A selectable text is a widget that allows to display a text and lets the user select and copy words. A SelectableText class is used to create a selectable text.…
A data table is used to display information in a grid format of columns and rows. A DataTable class is used to create a data table. The columns are defined…
A drawer is a sliding menu that is used to display navigation items. A drawer appears when the user swipes a finger from the left edge of the screen or…
A list view is a scrollable list that groups several items and displays them one after another in the scroll direction. A ListView class is used to create a list…
A list tile is a fixed height row that usually consists of title, short description and leading or trailing icon. A ListTile class is used to create a list tile.…
A tabs is used to organize content across different swipeable views. When a tab is selected, then associated view content is displayed. To use a tabs, first we need a…
A bottom navigation bar is a menu bar that displayed at the bottom of the screen. Typically navigation bar consists of three to five items. Each item can have an…
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…