Fluent2FieldScope constructor

const Fluent2FieldScope({
  1. required String? label,
  2. required bool required,
  3. required bool invalid,
  4. required Widget child,
  5. Key? key,
})

Tells child the label, the requirement and the validation of the field it stands in.

Implementation

const Fluent2FieldScope({
  required this.label,
  required this.required,
  required this.invalid,
  required super.child,
  super.key,
});