NiceNestableItem<T> constructor
const
NiceNestableItem<T> ({
- required String id,
- required T data,
- List<
NiceNestableItem< children = const [],T> > - bool expanded = true,
Implementation
const NiceNestableItem({
required this.id,
required this.data,
this.children = const [],
this.expanded = true,
});