SoftUiSidebar.desktop constructor
SoftUiSidebar.desktop({})
Implementation
factory SoftUiSidebar.desktop({
List<SoftUiSidebarItem> items = const [],
String isEmptyMessage = 'Não há itens.',
bool isLoading = false,
bool isCollapsed = false,
Color color = Colors.transparent,
int? selectedIndex,
double? width,
Widget? header,
Widget? body,
Widget? footer,
void Function()? onOpenPressed,
}) {
return SoftUiSidebar(
child: DesktopSidebar(
items: items,
isEmptyMessage: isEmptyMessage,
isLoading: isLoading,
isCollapsed: isCollapsed,
color: color,
selectedIndex: selectedIndex,
width: width,
onOpenPressed: onOpenPressed,
header: header,
body: body,
footer: footer,
),
);
}