Initial commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user