components/lists/m3e_lists library
Classes
- M3EDismissibleListController
- Drives reveal and dismiss on a dismissible list without a pointer drag.
- M3EDismissibleListStyle
- Immutable visual and interaction configuration for dismissible M3E lists.
- M3EDismissibleSlot
- Lightweight per-item bookkeeping for a dismissible card slot.
- M3EExpandableData
-
A data container used to configure items for
M3EExpandableList. - M3EExpandableExpanded
- Expanded content for an expandable list item.
- M3EExpandableItem
- M3EExpandableItem.
- M3EExpandableListController
- Opens and closes an expandable row's container transform.
- M3EExpandableStyle
-
Visual style configuration for
M3EExpandableList. - M3EList
- One list for selection, variant, reorder, swipe, and expand.
- M3EListAvatar
- 40dp circular leading avatar.
- M3EListCardListTheme
-
Theme values for
M3ECardList. - M3EListDismissibleTheme
- Theme values for dismissible list widgets.
- M3EListExpandableTheme
- Theme values for expandable list widgets.
- M3EListFeatureScope
- Provides list selection/reorder config to descendants (e.g. list items).
- M3EListImage
- 56dp leading image.
- M3EListItem
- A Material 3 Expressive list item.
- M3EListItemIndex
- Row index for the current list item under a feature scope.
- M3EListItemSwipe
- Swipe configuration for one list item.
- M3EListItemTheme
-
Theme values for
M3EListItem. - M3EListKeyboardBinding
- Focus registration for one M3EListKeyboardGroup.
- M3EListKeyboardGroup
- Arrow-key list navigation.
- M3EListKeyboardRegistration
- One focusable list row or trailing action registered with M3EListKeyboardGroup.
- M3EListKeyTarget
- Registers a trailing action with the enclosing M3EListKeyboardGroup.
- M3EListReorderState
- Visual and motion defaults for list reorder.
- M3EListRowSurface
- Card surface for one list row.
- M3EListSelectionState
- Visual and interaction defaults for list selection.
- M3EListSwipeAction
- A swipe action revealed beside a dismissible list row.
- M3EListTheme
- Theme values for list-family widgets.
- M3EListVideo
- Leading video thumbnail.
- M3EMeasureSize
- Reports the rendered size of child to onChange after each layout.
Enums
- M3ECardPosition
- The position of a card within a list, used to determine its corner radii.
- M3EExpandableExpandedType
- How expanded content under an expandable row is presented.
- M3EExpandableIconPlacement
- Determines the placement of the expand/collapse icon in the header.
- M3EListAppearance
- Visual system for a list.
- M3EListSelectionMode
- Selection cardinality for list selection.
- M3EListSelectionTrigger
- Gesture that toggles list selection.
- M3EListStyle
- Container treatment for expressive lists.
- M3EListSwipeEdge
- Which swipe direction can dismiss a row.
- M3EListSwipeMode
- How a dismissible row responds to a horizontal swipe.
Mixins
-
M3EDismissibleCardBuildMixin<
T extends StatefulWidget> - M3EDismissibleCardBuildMixin.
-
M3EDismissibleCardDragMixin<
T extends StatefulWidget> - M3EDismissibleCardDragMixin.
-
M3EDismissibleCardMixin<
T extends StatefulWidget> - M3EDismissibleCardMixin.
Extensions
-
M3EDismissibleCardCollapseRender
on M3EDismissibleCardBuildMixin<
T> - Collapsing (post-dismiss fly-out) card rendering for M3EDismissibleCardBuildMixin.
-
M3EDismissibleCardSpringSettle
on M3EDismissibleCardDragMixin<
T> - Spring-settle motion (snap open, spring back, and their shared push / neighbour / roundness controllers) for M3EDismissibleCardDragMixin.
Functions
-
calculateCardPosition(
int index, int total) → M3ECardPosition - Internal helper to calculate M3ECardPosition based on index and total.
-
calculateCardRadius(
{required M3ECardPosition position, required double outerRadius, required double innerRadius, bool embedded = false, bool closeBottom = false}) → BorderRadius - Internal helper to calculate BorderRadius based on M3ECardPosition.
Typedefs
- M3EExpandableBodyBuilder = Widget Function(BuildContext context, int index, double progress)
- M3EExpandableBodyBuilder.
- M3EExpandableHeaderBuilder = Widget Function(BuildContext context, int index, double progress)
- M3EExpandableHeaderBuilder.