SqfEntityField constructor

const SqfEntityField(
  1. String? fieldName,
  2. DbType? dbType, {
  3. dynamic defaultValue,
  4. dynamic minValue,
  5. dynamic maxValue,
  6. SqfEntitySequence? sequencedBy,
  7. bool? isPrimaryKeyField,
  8. bool? isNotNull,
  9. bool? isUnique,
  10. bool? isIndex,
  11. int? isIndexGroup,
  12. String? checkCondition,
  13. String? formLabelText,
  14. Collate? collate,
})

This class is required for field definitions using in a table definition Simple field definition must be below:

  SqfEntityField('name', DbType.text, isNotNull: true),

Implementation

const SqfEntityField(this.fieldName, this.dbType, {this.defaultValue, this.minValue, this.maxValue, this.sequencedBy, this.isPrimaryKeyField, this.isNotNull, this.isUnique, this.isIndex, this.isIndexGroup, this.checkCondition, this.formLabelText, this.collate});