build method
Describes the part of the UI represented by this widget.
Implementation
@override
Widget build(BuildContext context) {
return ReplayEventHistoryPanel(
events: events,
title: title,
maxItems: maxItems,
filter: state.filter,
mode: state.mode,
expanded: state.expanded,
showTypeChips: showTypeChips,
showFilterChips: showFilterChips,
showModeChips: showModeChips,
showExpandToggle: showExpandToggle,
showFilterSummary: showFilterSummary,
showModeSummary: showModeSummary,
onFilterSelected: onStateChanged == null
? null
: (filter) => onStateChanged?.call(state.withFilter(filter)),
onModeSelected: onStateChanged == null
? null
: (mode) => onStateChanged?.call(state.withMode(mode)),
onExpandedChanged: onStateChanged == null
? null
: (expanded) => onStateChanged?.call(state.withExpanded(expanded)),
);
}