ResponsiveFieldGroup constructor

const ResponsiveFieldGroup({
  1. required List<Responsive> children,
  2. String? labelText,
  3. bool edit = true,
  4. EdgeInsets padding = const EdgeInsets.all(8),
  5. InputDecoration? decoration,
  6. int maxColumns = 12,
  7. CrossAxisAlignment rowCrossAxisAlignment = CrossAxisAlignment.start,
  8. EdgeInsetsGeometry? gridMargin,
  9. EdgeInsetsGeometry? gridPadding,
  10. int? sizeExtraSmall,
  11. int? sizeSmall,
  12. int? sizeMedium,
  13. int? sizeLarge,
  14. int? sizeExtraLarge,
  15. double? minHeight,
  16. Key? key,
})

Implementation

const ResponsiveFieldGroup({
  required this.children,
  this.labelText,
  this.edit = true,
  this.padding = const EdgeInsets.all(8),
  this.decoration,
  this.maxColumns = 12,
  this.rowCrossAxisAlignment = CrossAxisAlignment.start,
  this.gridMargin,
  this.gridPadding,
  super.sizeExtraSmall,
  super.sizeSmall,
  super.sizeMedium,
  super.sizeLarge,
  super.sizeExtraLarge,
  super.minHeight,
  super.key,
}) : assert(
        labelText == null || decoration == null,
        'labelText or decoration must be null.',
      );