| 401 | } |
| 402 | } |
| 403 | class ChainWidget { |
| 404 | constructor() { |
| 405 | this.widget = new ListWidget(); |
| 406 | } |
| 407 | backgroundColor(color) { |
| 408 | this.widget.backgroundColor = color; |
| 409 | return this; |
| 410 | } |
| 411 | backgroundGradient(gradient) { |
| 412 | this.widget.backgroundGradient = gradient; |
| 413 | return this; |
| 414 | } |
| 415 | backgroundImage(image) { |
| 416 | this.widget.backgroundImage = image; |
| 417 | return this; |
| 418 | } |
| 419 | refreshAfterDate(date) { |
| 420 | this.widget.refreshAfterDate = date; |
| 421 | return this; |
| 422 | } |
| 423 | spacing(space) { |
| 424 | this.widget.spacing = space; |
| 425 | return this; |
| 426 | } |
| 427 | url(url) { |
| 428 | this.widget.url = url; |
| 429 | return this; |
| 430 | } |
| 431 | addAccessoryWidgetBackground(bool) { |
| 432 | this.widget.addAccessoryWidgetBackground = bool; |
| 433 | return this; |
| 434 | } |
| 435 | setPadding(top, leading, bottom, trailing) { |
| 436 | this.widget.setPadding(top, leading, bottom, trailing); |
| 437 | return this; |
| 438 | } |
| 439 | useDefaultPadding() { |
| 440 | this.widget.useDefaultPadding(); |
| 441 | return this; |
| 442 | } |
| 443 | presentAccessoryCircular() { |
| 444 | this.widget.presentAccessoryCircular(); |
| 445 | return this; |
| 446 | } |
| 447 | presentAccessoryInline() { |
| 448 | this.widget.presentAccessoryInline(); |
| 449 | return this; |
| 450 | } |
| 451 | presentAccessoryRectangular() { |
| 452 | this.widget.presentAccessoryRectangular(); |
| 453 | return this; |
| 454 | } |
| 455 | presentExtraLarge() { |
| 456 | this.widget.presentExtraLarge(); |
| 457 | return this; |
| 458 | } |
| 459 | presentSmall() { |
| 460 | this.widget.presentSmall(); |
nothing calls this directly
no outgoing calls
no test coverage detected