duo_rail_kit library
System-directed navigation rails, vertical bar toolbars, safe-area spacing, and FAB placement for iPhone Duo.
Classes
- BarRegionScope
- Provides sampled bar regions to descendants; tests can inject a scope directly.
- RailLayout
- A rail's placement, width, and safe area, read together from one context.
- RailPlacement
- Selects a rail's physical edge, occupied width, and safe-area padding.
- RailSideFab
- Shares FAB placement with content beside a bottom-aligned rail that follows the system bar.
- RailSideFabLocation
- Places the FAB bottomMargin above the Scaffold's content bottom.
- RailSideRow
-
Places a rail in a stable
[left slot, content, right slot]row. - SideStatusBarInsets
- Adds top safe-area spacing to windows with a side status bar.
- TopBarRegion
- The system's top bar region, the band beside the status display in the top safe area, sampled from iOS.
- VerticalBarAction
- One page action shown in the vertical bar column, or in its overflow menu.
- VerticalBarBack
- The back control placed first in the column.
- VerticalBarCell
- One cell of the vertical bar column, passed to the builders of application controls. Values are logical pixels.
- VerticalBarColumn
- The vertical bar column of the current window, and where UIKit places bar items in it.
- VerticalBarEdge
- Exposes the native edge for vertical navigation bars on iPhone Duo, with the system bar regions sampled with it.
- VerticalBarEdgeScope
- Provides edge values to descendants; tests can inject a scope directly.
- VerticalBarInvocation
- How a vertical bar action was invoked.
- VerticalBarMenuItem
- One row of a VerticalBarAction's menu.
- VerticalBarPage
- Draws a full-window page's back control and actions in the vertical bar column.
- VerticalBarRailEnd
- Marks the end of a rail's destinations for the nearest VerticalBarShell.
- VerticalBarRegion
- The system's item region in the vertical bar on a physical edge, sampled from iOS.
- VerticalBarShell
-
A tab shell's
[left rail | content | right rail]row whose pages place their back control and actions in the vertical bar column above the rail, as UIKit places a navigation bar's items above the tab bar. - VerticalBarSlots
- What the page's app bar should leave out in this frame.
Enums
- HorizontalEdge
- A physical screen edge, independent of text direction.
Typedefs
- VerticalBarActionCallback = void Function(VerticalBarInvocation invocation)
- Called when a column control, or its row in the overflow menu, is invoked.
- VerticalBarCellBuilder = Widget Function(BuildContext context, VerticalBarCell cell)
- Builds an application control for one cell: a custom action, the back control, or the overflow cell.
- VerticalBarItemBuilder = Widget? Function(BuildContext context, VerticalBarAction action, VerticalBarCell cell)
- Builds a standard action's control in a cell; returns null to use the package's default.