Commit 03d375b
authored
patch: Enhance DuitDataSource with new methods (#54)
* feat: Enhance DuitDataSource with new date and time handling methods
- Added methods to retrieve and parse DateTime, DatePickerEntryMode, DatePickerMode, Locale, TimeOfDay, and TimePickerEntryMode from JSON.
- Implemented lookup tables for DatePickerEntryMode, DatePickerMode, TimePickerEntryMode, and Orientation.
- Updated tests to cover new functionality and ensure correct parsing and default value handling.
- Introduced locale and orientation properties in FlutterPropertyKeys for better configuration management.
* feat: Enhance DuitDataSource with new properties and methods for scroll behavior, multitouch drag strategy, target platform, and drag devices
- Added methods to retrieve and parse ScrollBehavior, MultitouchDragStrategy, TargetPlatform, and drag devices from JSON.
- Introduced lookup tables for PointerDeviceKind and MultitouchDragStrategy.
- Updated FlutterPropertyKeys to include new keys for scroll behavior, multitouch drag strategy, platform, drag devices, and pointer axis modifiers.
- Enhanced tests to cover new functionality and ensure correct parsing and default value handling.
* Lint fixes
* wip
* feat: Add iconData method to DuitDataSource for enhanced icon handling
- Introduced iconData method to retrieve and parse IconData from JSON, supporting direct IconData, string identifiers, and map structures.
- Added a new generated icon lookup table for efficient IconData resolution.
- Updated tests to validate the new iconData functionality and ensure correct behavior across various input scenarios.
- Created a script to generate the icon lookup table from Flutter's material/icons.dart.
* wip1 parent 2f40652 commit 03d375b
8 files changed
Lines changed: 11172 additions & 7 deletions
File tree
- lib/src/view_attributes
- test
- tool
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
0 commit comments