Flow.across constructor

const Flow.across(
  1. Iterable<Widget> children, {
  2. Key? key,
  3. FlowType type = FlowType.row,
})

Creates a horizontal row layout using FlowType.row.

Arranges children horizontally with minimal main axis size and centered cross-axis alignment, making it ideal for inline UI elements like navigation items or icon bars in Section or Tabs.

Implementation

const Flow.across(
  this.children, {
  super.key,
  this.type = FlowType.row,
});