Flow.through constructor

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

Creates an overlay stack layout using FlowType.stack.

Layers children with passthrough fitting, allowing overlapping visuals, perfect for badges over FancyIcon, notifications on Fab, or modal overlays in Toast.

Implementation

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