EasyLayoutRow constructor

const EasyLayoutRow({
  1. Key? key,
  2. double? spacing,
  3. required List<Widget> children,
  4. MainAxisAlignment? alignment,
  5. MainAxisAlignment? mainAxisAlignment,
  6. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.start,
  7. bool expand = true,
})

Implementation

const EasyLayoutRow({
  Key? key,
  this.spacing,
  required this.children,
  this.alignment,
  this.mainAxisAlignment,
  this.crossAxisAlignment = CrossAxisAlignment.start,
  this.expand = true,
})  : assert(
        alignment == null || mainAxisAlignment == null,
        '`alignment` is deprecated. Use either `mainAxisAlignment`, or `alignment` for backward compatibility, but not both.',
      ),
      super(key: key);