fields property

  1. @override
List<Field<Alignment>> get fields
override

Implementation

@override
List<Field<Alignment>> get fields {
  return [
    ListField<Alignment>(
      name: 'alignment',
      initialValue: initialAlignment,
      values: alignments.keys.toList(),
      labelBuilder: (value) => alignments[value]!,
    ),
  ];
}