FlutterFormInputEmail constructor

const FlutterFormInputEmail(
  1. {required FlutterFormInputController<String> controller,
  2. required String validationMessage,
  3. Key? key,
  4. FocusNode? focusNode,
  5. Widget? label,
  6. bool? enabled,
  7. String? validator(
    1. String?
    )?,
  8. InputDecoration? decoration}
)

Creates a FlutterFormInputEmail.

The controller parameter is required. The key, focusNode, label, and enabled parameters are optional.

Implementation

const FlutterFormInputEmail({
  required super.controller,
  required this.validationMessage,
  super.key,
  super.focusNode,
  super.label,
  bool? enabled,
  this.validator,
  this.decoration,
}) : super(
        enabled: enabled ?? true,
      );