CardSettingsParagraph constructor

CardSettingsParagraph({
  1. Key? key,
  2. String label = 'Label',
  3. String? hintText,
  4. TextAlign? labelAlign,
  5. TextAlign contentAlign = TextAlign.left,
  6. String? initialValue,
  7. Icon? icon,
  8. Widget? requiredIndicator,
  9. int maxLength = 250,
  10. int numberOfLines = 7,
  11. bool contentOnNewLine = true,
  12. bool visible = true,
  13. bool enabled = true,
  14. bool showCounter = true,
  15. bool autofocus = false,
  16. bool obscureText = false,
  17. bool autocorrect = true,
  18. AutovalidateMode autovalidateMode = AutovalidateMode.onUserInteraction,
  19. FormFieldValidator<String>? validator,
  20. FormFieldSetter<String>? onSaved,
  21. ValueChanged<String>? onChanged,
  22. TextEditingController? controller,
  23. FocusNode? focusNode,
  24. TextInputAction? inputAction,
  25. FocusNode? inputActionNode,
  26. TextInputType keyboardType = TextInputType.multiline,
  27. TextStyle? style,
  28. MaxLengthEnforcement? maxLengthEnforcement = MaxLengthEnforcement.enforced,
  29. ValueChanged<String>? onFieldSubmitted,
  30. List<TextInputFormatter>? inputFormatters,
  31. bool? showMaterialonIOS,
  32. EdgeInsetsGeometry? fieldPadding,
})

Implementation

CardSettingsParagraph({
  Key? key,
  String label = 'Label',
  String? hintText,
  TextAlign? labelAlign,
  TextAlign contentAlign = TextAlign.left,
  String? initialValue,
  Icon? icon,
  Widget? requiredIndicator,
  int maxLength = 250,
  int numberOfLines = 7,
  bool contentOnNewLine = true,
  bool visible = true,
  bool enabled = true,
  bool showCounter = true,
  bool autofocus = false,
  bool obscureText = false,
  bool autocorrect = true,
  AutovalidateMode autovalidateMode = AutovalidateMode.onUserInteraction,
  FormFieldValidator<String>? validator,
  FormFieldSetter<String>? onSaved,
  ValueChanged<String>? onChanged,
  TextEditingController? controller,
  FocusNode? focusNode,
  TextInputAction? inputAction,
  FocusNode? inputActionNode,
  TextInputType keyboardType = TextInputType.multiline,
  TextStyle? style,
  MaxLengthEnforcement? maxLengthEnforcement = MaxLengthEnforcement.enforced,
  ValueChanged<String>? onFieldSubmitted,
  List<TextInputFormatter>? inputFormatters,
  bool? showMaterialonIOS,
  EdgeInsetsGeometry? fieldPadding,
}) : super(
        key: key,
        label: label,
        labelAlign: labelAlign,
        hintText: hintText,
        contentAlign: contentAlign,
        showMaterialonIOS: showMaterialonIOS,
        fieldPadding: fieldPadding,
        initialValue: initialValue,
        contentOnNewLine: contentOnNewLine,
        maxLength: maxLength,
        icon: icon,
        requiredIndicator: requiredIndicator,
        numberOfLines: numberOfLines,
        showCounter: (enabled == true) ? showCounter : false,
        visible: visible,
        enabled: enabled,
        autofocus: autofocus,
        obscureText: obscureText,
        autocorrect: autocorrect,
        autovalidateMode: autovalidateMode,
        validator: validator,
        onSaved: onSaved,
        onChanged: onChanged,
        controller: controller,
        focusNode: focusNode,
        inputAction: inputAction,
        inputActionNode: inputActionNode,
        keyboardType: keyboardType,
        style: style,
        maxLengthEnforcement: maxLengthEnforcement,
        onFieldSubmitted: onFieldSubmitted,
        inputFormatters: inputFormatters,
      );