CardSettingsField constructor

CardSettingsField({
  1. String label = 'Label',
  2. required Widget content,
  3. Icon? icon,
  4. IconData? pickerIcon,
  5. double? labelWidth,
  6. bool contentOnNewLine = false,
  7. String? unitLabel,
  8. String? errorText,
  9. bool visible = true,
  10. required TextAlign? labelAlign,
  11. required Widget? requiredIndicator,
  12. bool enabled = true,
  13. required EdgeInsetsGeometry? fieldPadding,
})

Implementation

CardSettingsField({
  this.label: 'Label',
  required this.content,
  this.icon,
  this.pickerIcon,
  this.labelWidth,
  this.contentOnNewLine = false,
  this.unitLabel,
  this.errorText,
  this.visible: true,
  required this.labelAlign,
  required this.requiredIndicator,
  this.enabled = true,
  required this.fieldPadding,
});