Commit a2f56ef
committed
```
docs: Add personalized button example to `ButtonsScreen`
This commit adds a new example section to the `ButtonsScreen` demonstrating how to create personalized buttons using the `ButtonStyle` extension methods.
### Key Changes:
* **`buttons_screen.dart`**:
* Added a `CodeCard` showcasing a "Personalisierte Buttons" (Personalized Buttons) example.
* Demonstrates the use of `.withBackgroundColor`, `.withForegroundColor`, and `.withBorderRadius` to customize both base and hover states.
* Included corresponding code snippets within the `lines` property to provide a clear implementation reference for developers.1 parent e5d732b commit a2f56ef
1 file changed
Lines changed: 39 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
640 | 640 | | |
641 | 641 | | |
642 | 642 | | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
643 | 682 | | |
644 | 683 | | |
645 | 684 | | |
| |||
0 commit comments