component/navigation/sidebar library

Classes

ArbitraryHeaderSpace
A utility class for reserving arbitrary vertical space in ArcaneSidebar headers, ensuring consistent layout and preventing shifts when conditional content like ArcaneSidebarHeader is rendered or hidden, promoting smooth animations and performance in CustomScrollView integrations.
ArcaneSidebar
A collapsible sidebar navigation component for Arcane UI applications, providing a space-efficient side menu that integrates seamlessly with BottomNavigationBar for comprehensive app navigation. Supports theming via ArcaneTheme, content sections using Section, and smooth animations for expansion/collapse. Designed for performance with minimal rebuilds using Pylon state management and AnimatedSize.
ArcaneSidebarButton
An interactive button widget for navigation items in ArcaneSidebar, adapting from icon-only in collapsed state to full label display when expanded. Uses GhostButton for subtle pressed states and highlights selection with muted background from ArcaneTheme. Supports animations via AnimatedContainer and AnimatedPadding for fluid transitions without performance overhead.
ArcaneSidebarExpansionToggle
Default trailing toggle for ArcaneSidebarFooter, rendering chevron icons that respond to ArcaneSidebarState via Pylon for expansion/collapse. Handles drawer dismissal with Arcane.closeDrawer when active, integrating seamlessly with ArcaneApp's navigation drawer system and IconButton styling from ArcaneTheme for consistent touch targets.
ArcaneSidebarFooter
A bottom footer component for ArcaneSidebar, providing a fixed-position panel with divider separation and trailing actions like expansion toggle. Uses SurfaceCard for subtle elevation and integrates ArcaneTheme colors.
ArcaneSidebarHeader
A responsive header component for ArcaneSidebar, adapting content visibility based on expansion state via Pylon. Built on Bar for structured title, actions, and back navigation, with optional Glass blur for elevated appearance.
SidebarScrollController
A wrapper for providing custom ScrollController to ArcaneSidebar, enabling external management of scroll position and behavior in CustomScrollView setups, such as syncing with NavigationScreen or BottomNavigationBar transitions for smooth user experience.

Enums

ArcaneSidebarState
Defines the possible states of the ArcaneSidebar in Arcane UI, enabling responsive navigation layouts that integrate with BottomNavigationBar for seamless app-wide navigation flows.