FieldHint.asset constructor

const FieldHint.asset(
  1. String key, {
  2. List<String> suffixes = const <String>[],
  3. String? label,
  4. String? help,
  5. Object? defaultValue,
  6. bool readOnly = false,
})

A path to one of the project's files.

Implementation

const FieldHint.asset(
  this.key, {
  this.suffixes = const <String>[],
  this.label,
  this.help,
  this.defaultValue,
  this.readOnly = false,
}) : kind = FieldKind.asset,
     min = null,
     max = null,
     step = null,
     unit = null,
     choices = const <String>[];