call method

  1. @override
ReactElement call([
  1. covariant dynamic c1(
    1. TValue value
    )?,
  2. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c2 = _nope,
  3. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c3 = _nope,
  4. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c4 = _nope,
  5. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c5 = _nope,
  6. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c6 = _nope,
  7. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c7 = _nope,
  8. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c8 = _nope,
  9. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c9 = _nope,
  10. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c10 = _nope,
  11. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c11 = _nope,
  12. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c12 = _nope,
  13. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c13 = _nope,
  14. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c14 = _nope,
  15. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c15 = _nope,
  16. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c16 = _nope,
  17. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c17 = _nope,
  18. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c18 = _nope,
  19. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c19 = _nope,
  20. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c20 = _nope,
  21. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c21 = _nope,
  22. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c22 = _nope,
  23. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c23 = _nope,
  24. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c24 = _nope,
  25. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c25 = _nope,
  26. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c26 = _nope,
  27. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c27 = _nope,
  28. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c28 = _nope,
  29. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c29 = _nope,
  30. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c30 = _nope,
  31. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c31 = _nope,
  32. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c32 = _nope,
  33. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c33 = _nope,
  34. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c34 = _nope,
  35. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c35 = _nope,
  36. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c36 = _nope,
  37. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c37 = _nope,
  38. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c38 = _nope,
  39. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c39 = _nope,
  40. covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c40 = _nope,
])
inherited

Creates a new component with this builder's props and the specified children.

(alias for build with support for variadic children)

This method actually takes any number of children as arguments (c2, c3, ...) via noSuchMethod.

Restricted statically to 40 arguments until the dart2js fix in github.com/dart-lang/sdk/pull/26032 is released.

Implementation

@override
// ignore: invalid_override_different_default_values_positional
ReactElement call([covariant dynamic Function(TValue value)? c1, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c2 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c3 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c4 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c5 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c6 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c7 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c8 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c9 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c10 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c11 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c12 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c13 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c14 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c15 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c16 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c17 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c18 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c19 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c20 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c21 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c22 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c23 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c24 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c25 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c26 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c27 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c28 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c29 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c30 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c31 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c32 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c33 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c34 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c35 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c36 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c37 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c38 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c39 = _nope, covariant _DO_NOT_USE_OR_YOU_WILL_BE_FIRED c40 = _nope]) {
  return componentFactory!.build(props, c1 != null ? [c1] : []);
}