SmartTextFormField constructor Null safety

const SmartTextFormField(
  1. {Key? key,
  2. required TextEditingController controller,
  3. required FocusNode focusNode,
  4. InputDecoration? decoration,
  5. FormFieldValidator<String>? validator,
  6. bool obscureText = false,
  7. TextInputAction action = TextInputAction.done,
  8. dynamic completeAction(
      )?,
    1. TextInputType? keyboardType,
    2. int? maxLines = 1,
    3. bool forceError = false,
    4. List<String> autoFillHints = const [],
    5. bool displayObscureTextToggle = false,
    6. TextStyle? style}
    )

    Implementation

    const SmartTextFormField({
      Key? key,
      required this.controller,
      required this.focusNode,
      this.decoration,
      this.validator,
      this.obscureText = false,
      this.action = TextInputAction.done,
      this.completeAction,
      this.keyboardType,
      this.maxLines = 1,
      this.forceError = false,
      this.autoFillHints = const [],
      this.displayObscureTextToggle = false,
      this.style,
    }) : super(key: key);