FastRow constructor
const
FastRow({
- Key? key,
- required List<
Widget> children, - double yGap = 0,
- double xGap = 10,
- bool extreme = false,
- CrossAxisAlignment cross = CrossAxisAlignment.start,
- MainAxisAlignment main = MainAxisAlignment.start,
FastRow is a widget that allows you to create a row with a gap between the widgets.
children
is a list of widgets that will be displayed in the row.
xGap
is the horizontal gap between the widgets.
yGap
is the vertical gap between the widgets.
cross
is the alignment of the widgets in the row.
main
is the alignment of the row.
extreme
is a boolean that defines whether the row will have a gap at the beginning and end.
Example:
FastRow(
children: [
Icon(FastIcons.ant.profile),
Text(v.toString()),
],
),
Implementation
const FastRow({
super.key,
required this.children,
this.yGap = 0,
this.xGap = 10,
this.extreme = false,
this.cross = CrossAxisAlignment.start,
this.main = MainAxisAlignment.start,
});