Flow.around constructor

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

Creates a wrapping layout using FlowType.wrap.

Flows children horizontally then wraps to new lines with 8-unit spacing and centered alignment, ideal for tags, chips, or dynamic content in Search results or RadioCards.

Implementation

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