drawer_rail 0.2.1 copy "drawer_rail: ^0.2.1" to clipboard
drawer_rail: ^0.2.1 copied to clipboard

A collapsible, themeable side navigation drawer with a full-width panel and a narrow icon rail: search, sections, badges, expandable groups and flyouts.

Changelog #

0.2.1 #

  • Fix visual bug where hover effect was applied as an overlay affecting foreground legibility. Hover now strictly alters the background color using InkWell, keeping text and icons at 100% opacity.

0.2.0 #

  • Add DrawerRailTheme.hoverEffect (DrawerHoverEffect.shadow / .highlight / .none) so the item hover feedback can be switched or turned off, plus hoverHighlightColor for the highlight variant.
  • Fix the murky/cloudy look of the hover shadow: in shadow mode an opaque surface is now painted behind the card, so the shadow reads as a lift instead of a colored haze bleeding through transparent items.

0.1.0 #

Initial release.

  • DrawerRail: collapsible side navigation drawer with an expanded panel and a narrow icon rail.
  • Built-in diacritic-insensitive search, uppercase section headers, selected pill, text/count badges, inline-expandable groups and collapsed flyout menus.
  • DrawerRailController (ChangeNotifier) for collapse, selection and group state — no external state-management dependency.
  • DrawerRailLabels for localizing the built-in chrome.
  • Customizable header and footer slots via builders.
  • Fully customizable DrawerRailTheme, falling back to the ambient ColorScheme:
    • Sizing/spacing: expandedWidth, railWidth, iconSize, railIconSize, railItemHeight, borderRadius, itemBorderRadius, contentPadding, itemPadding, groupChildIndent.
    • Text styles: labelTextStyle, selectedLabelTextStyle, sectionTextStyle, badgeTextStyle, plus sectionUppercase.
    • Chrome icons: collapseIcon, expandIcon, searchIcon, clearSearchIcon, groupTrailingIcon.
    • Motion: animationDuration, animationCurve, groupAnimationDuration, pressedScale.
    • Layout: DrawerRailPosition (left / right).
  • DrawerRail.searchDecoration to fully override the search field, and DrawerRail.showFooterDivider.
1
likes
160
points
227
downloads

Documentation

API reference

Publisher

verified publisherdevfrs.com

Weekly Downloads

A collapsible, themeable side navigation drawer with a full-width panel and a narrow icon rail: search, sections, badges, expandable groups and flyouts.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#drawer #navigation #sidebar #ui #widget

License

MIT (license)

Dependencies

flutter

More

Packages that depend on drawer_rail