FastRow constructor

const FastRow({
  1. Key? key,
  2. required List<Widget> children,
  3. double yGap = 0,
  4. double xGap = 10,
  5. bool extreme = false,
  6. CrossAxisAlignment cross = CrossAxisAlignment.start,
  7. 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,
});