expressiveInventory top-level constant
DesignInventory
const expressiveInventory
Every inventory row, each a live specimen of its Expressive<Stem>.
expressiveInventory.verify();
Implementation
const DesignInventory expressiveInventory = DesignInventory(
look: 'Material Expressive',
entries: <DesignInventoryEntry>[
// Actions
DesignInventoryEntry.present('Button', _button),
DesignInventoryEntry.present('IconButton', _iconButton),
DesignInventoryEntry.present('FloatingActionButton', _fab),
DesignInventoryEntry.present('ButtonGroup', _buttonGroup),
DesignInventoryEntry.present('ToggleGroup', _toggleGroup),
DesignInventoryEntry.present('SplitButton', _splitButton),
DesignInventoryEntry.present('Link', _link),
DesignInventoryEntry.absent(
'Kbd',
"Material draws no keyboard keys (shadcn's Kbd): a shortcut is a menu item's trailing text",
),
// Inputs
DesignInventoryEntry.present('TextField', _textField),
DesignInventoryEntry.present('TextArea', _textArea),
DesignInventoryEntry.present('SearchField', _searchField),
DesignInventoryEntry.present('PasswordField', _passwordField),
DesignInventoryEntry.present('InputGroup', _inputGroup),
DesignInventoryEntry.present('InputOtp', _inputOtp),
DesignInventoryEntry.present('NumberField', _numberField),
DesignInventoryEntry.present('Select', _select),
DesignInventoryEntry.present('Combobox', _combobox),
DesignInventoryEntry.present('MultiSelect', _multiSelect),
DesignInventoryEntry.present('Checkbox', _checkbox),
DesignInventoryEntry.present('RadioGroup', _radioGroup),
DesignInventoryEntry.present('Switch', _switch),
DesignInventoryEntry.present('Slider', _slider),
DesignInventoryEntry.present('RangeSlider', _rangeSlider),
DesignInventoryEntry.present('SegmentedButton', _segmentedButton),
DesignInventoryEntry.present('Chip', _chip),
DesignInventoryEntry.present('Rating', _rating),
DesignInventoryEntry.present('FileUpload', _fileUpload),
DesignInventoryEntry.present('DatePicker', _datePicker),
DesignInventoryEntry.present('DateRangePicker', _dateRangePicker),
DesignInventoryEntry.present('TimePicker', _timePicker),
DesignInventoryEntry.present('Calendar', _calendar),
DesignInventoryEntry.absent(
'WheelPicker',
"Material has no wheel: a number takes ExpressiveScrollField (Compose's ScrollField), a word the select",
),
DesignInventoryEntry.present('ColorPicker', _colorPicker),
DesignInventoryEntry.present('FormField', _formField),
// Navigation
DesignInventoryEntry.present('AppBar', _appBar),
DesignInventoryEntry.present('NavigationBar', _navigationBar),
DesignInventoryEntry.present('NavigationRail', _navigationRail),
DesignInventoryEntry.present('NavigationDrawer', _navigationDrawer),
DesignInventoryEntry.present('TabBar', _tabBar),
DesignInventoryEntry.present('Breadcrumb', _breadcrumb),
DesignInventoryEntry.present('Pagination', _pagination),
DesignInventoryEntry.present('StepProgress', _stepProgress),
DesignInventoryEntry.present('PageDots', _pageDots),
DesignInventoryEntry.present('MenuBar', _menuBar),
DesignInventoryEntry.absent(
'Command',
"shadcn's command palette: Material searches with the search bar and its view (ExpressiveSearchBar)",
),
DesignInventoryEntry.present('Scaffold', _scaffold),
// Containers
DesignInventoryEntry.present('Card', _card),
DesignInventoryEntry.present('ListTile', _listTile),
DesignInventoryEntry.present('ListSection', _listSection),
DesignInventoryEntry.present('SectionHeader', _sectionHeader),
DesignInventoryEntry.present('Disclosure', _disclosure),
DesignInventoryEntry.present('Table', _table),
DesignInventoryEntry.present('DataTable', _dataTable),
DesignInventoryEntry.present('Divider', _divider),
DesignInventoryEntry.present('ScrollArea', _scrollArea),
DesignInventoryEntry.present('Resizable', _resizable),
DesignInventoryEntry.present('CarouselView', _carouselView),
DesignInventoryEntry.present('ReorderableListView', _reorderableListView),
DesignInventoryEntry.present('SwipeActions', _swipeActions),
DesignInventoryEntry.present('RefreshIndicator', _refreshIndicator),
DesignInventoryEntry.absent(
'TreeView',
"shadcn's tree; Material has none: a list or the navigation drawer's sections hold a hierarchy",
),
DesignInventoryEntry.present('Timeline', _timeline),
DesignInventoryEntry.present('Avatar', _avatar),
DesignInventoryEntry.present('AvatarGroup', _avatarGroup),
DesignInventoryEntry.present('Badge', _badge),
DesignInventoryEntry.present('Tag', _tag),
DesignInventoryEntry.present('Media', _media),
DesignInventoryEntry.present('EmptyState', _emptyState),
DesignInventoryEntry.present('DescriptionList', _descriptionList),
// Overlays
DesignInventoryEntry.present('Dialog', _dialog),
DesignInventoryEntry.present('BottomSheet', _bottomSheet),
DesignInventoryEntry.present('Sheet', _sheet),
DesignInventoryEntry.absent(
'ActionSheet',
"iOS's action sheet: Material lists a context's actions in a modal bottom sheet (showExpressiveBottomSheet)",
),
DesignInventoryEntry.present('Popover', _popover),
DesignInventoryEntry.absent(
'HoverCard',
"shadcn's hover card; Material has none: a rich tooltip carries what one would",
),
DesignInventoryEntry.present('Tooltip', _tooltip),
DesignInventoryEntry.present('Menu', _menu),
DesignInventoryEntry.present('SnackBar', _snackBar),
DesignInventoryEntry.present('Banner', _banner),
// Feedback
DesignInventoryEntry.present('LinearProgressIndicator', _linearProgress),
DesignInventoryEntry.present(
'CircularProgressIndicator',
_circularProgress,
),
DesignInventoryEntry.present('Skeleton', _skeleton),
DesignInventoryEntry.present('StatusView', _statusView),
DesignInventoryEntry.present('Meter', _meter),
// Charts
DesignInventoryEntry.present('LineChart', _lineChart),
DesignInventoryEntry.present('BarChart', _barChart),
DesignInventoryEntry.present('AreaChart', _areaChart),
DesignInventoryEntry.present('PieChart', _pieChart),
DesignInventoryEntry.present('Sparkline', _sparkline),
],
);