AnimatedPasswordTextFormField constructor

const AnimatedPasswordTextFormField({
  1. Key? key,
  2. Interval? interval = const Interval(0.0, 1.0),
  3. required double animatedWidth,
  4. AnimationController? loadingController,
  5. AnimationController? inertiaController,
  6. TextFieldInertiaDirection? inertiaDirection,
  7. bool enabled = true,
  8. String? labelText,
  9. TextInputType? keyboardType,
  10. TextInputAction? textInputAction,
  11. TextEditingController? controller,
  12. FocusNode? focusNode,
  13. FormFieldValidator<String>? validator,
  14. ValueChanged<String>? onFieldSubmitted,
  15. FormFieldSetter<String>? onSaved,
  16. Iterable<String>? autofillHints,
})

Implementation

const AnimatedPasswordTextFormField({
  Key? key,
  this.interval = const Interval(0.0, 1.0),
  required this.animatedWidth,
  this.loadingController,
  this.inertiaController,
  this.inertiaDirection,
  this.enabled = true,
  this.labelText,
  this.keyboardType,
  this.textInputAction,
  this.controller,
  this.focusNode,
  this.validator,
  this.onFieldSubmitted,
  this.onSaved,
  this.autofillHints,
})  : assert((inertiaController == null && inertiaDirection == null) ||
          (inertiaController != null && inertiaDirection != null)),
      super(key: key);