Files
sm-emby-share/lib/features/player/widgets/panels/selection_panel_entry.dart
T

28 lines
600 B
Dart
Raw Normal View History

2026-07-14 11:11:36 +08:00
class SelectionPanelEntry<T> {
final T? value;
final String? label;
final String? subtitle;
final String? badge;
final bool isActive;
final bool isLoading;
final bool isDivider;
const SelectionPanelEntry.item({
required T this.value,
required String this.label,
this.subtitle,
this.badge,
this.isActive = false,
this.isLoading = false,
}) : isDivider = false;
const SelectionPanelEntry.divider()
: value = null,
label = null,
subtitle = null,
badge = null,
isActive = false,
isLoading = false,
isDivider = true;
}