Fluid constructor
Fluid()
Fluid
is like a Wrap
with a fluid layout algorithm.
Like a normal Wrap
widget with direction = Axis.horizontal
,
Fluid
displays its children in rows, but resizes it to fit
fluid
and minWidth
.
It will leave spacing
horizontal space between each child,
and it will leave lineSpacing
vertical space between each line.
Implementation
Fluid({
Key? key,
this.spacing = 0.0,
this.lineSpacing = 0.0,
this.textDirection,
List<Fluidable> children = const <Fluidable>[],
}) : super(key: key, children: children);