HeaderField constructor

HeaderField({
  1. required String name,
  2. String? content,
  3. Color? contentColor,
  4. String? contentIcon,
  5. double? contentFontSize,
  6. bool useAsDivider = false,
  7. String? id,
  8. FieldType type = FieldType.headerField,
})

Implementation

HeaderField({
  required super.name,
  String? content,
  this.contentColor,
  this.contentIcon,
  this.contentFontSize,
  this.useAsDivider = false,
  String? id,
  super.type = FieldType.headerField,
})  : content = content ?? name,
      super(id: id ?? '${toSnakeCase(name)}_header', showInList: false, realField: false);