Commit 1bbdf4d
committed
Refactor ElevatedButton to Button and update references
Replaces the ElevatedButton control with Button throughout the codebase, consolidating button logic into a single Button class. ElevatedButton is now a deprecated alias for Button. Updates all usages, tests, and control registration to use Button, simplifying the API and improving maintainability.1 parent 0b3d789 commit 1bbdf4d
42 files changed
Lines changed: 267 additions & 379 deletions
File tree
- packages/flet/lib/src
- utils
- sdk/python
- examples/controls/button
- media
- packages/flet
- docs
- contributing/extensions
- controls
- buttons
- cookbook
- types
- integration_tests/controls
- golden/macos/button
- src/flet
- controls
- core
- material
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
188 | | - | |
| 187 | + | |
189 | 188 | | |
190 | 189 | | |
191 | 190 | | |
| |||
284 | 283 | | |
285 | 284 | | |
286 | 285 | | |
287 | | - | |
| 286 | + | |
288 | 287 | | |
289 | 288 | | |
290 | 289 | | |
| |||
1185 | 1184 | | |
1186 | 1185 | | |
1187 | 1186 | | |
1188 | | - | |
1189 | | - | |
| 1187 | + | |
1190 | 1188 | | |
1191 | | - | |
| 1189 | + | |
1192 | 1190 | | |
1193 | 1191 | | |
1194 | 1192 | | |
| |||
File renamed without changes.
File renamed without changes.
0 commit comments