A Material Design choice chip.
ChoiceChips represent a single choice from a set. Choice chips contain related descriptive text or categories.
The selected and label arguments must not be null.
@FieldDateRangePicker() allows picking a range of dates
All properties are optional. All dates are 'yyyy-MM-dd'
initialDate is set to current date if not provided.
firstDate is set to 25 years before current date if not provided.
lastDate is set to 25 years after current date if not provided.
initialDateRange ia string in "yyyy-MM-dd, yyyy-MM-dd" format specifies the initial date range.
if not provided it is set to "firstDate, lastDate""
A dropdown button lets the user select from a number of items. The button shows the currently selected item as well as an arrow that opens a menu for selecting another item.
Filter chips use tags or descriptive words as a way to filter content.
Filter chips are a good alternative to Checkbox or Switch widgets. Unlike these alternatives, filter chips allow for clearly delineated and exposed options in a compact area.
@FormBuilder is the decorator used to generate a form from a class.
allowNullorEmpty if set to true allows the form to save with empty or null values.
needScaffold if set to true will generate a scaffold with a form, otherwise the form will be generated
as a widget.