Remove unused dynamic field lookup and redundant utility methods; clean up pubspec dependency paths and update READMEs with detailed package guides.
This commit is contained in:
parent
80a27714a6
commit
401dd103a6
30 changed files with 799 additions and 64 deletions
|
|
@ -30,3 +30,51 @@ flutter run -d chrome
|
|||
```
|
||||
|
||||
_Last updated: 2025-10-23_
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Detailed Guide
|
||||
|
||||
### What this package provides
|
||||
Material 3 Expressive progress indicators with token-aligned colors and shapes, providing circular and linear variants with determinate and indeterminate modes.
|
||||
|
||||
### Installation
|
||||
- Monorepo (local path): already configured alongside m3e_design.
|
||||
- Pub (when published):
|
||||
```yaml
|
||||
dependencies:
|
||||
progress_indicator_m3e: ^0.3.0
|
||||
m3e_design: ^0.1.0
|
||||
```
|
||||
|
||||
Minimum SDK: Dart >=3.3.0; Flutter >=3.19.0.
|
||||
|
||||
### Dependencies
|
||||
- flutter
|
||||
- m3e_design
|
||||
|
||||
### Quick start
|
||||
```dart
|
||||
// Indeterminate
|
||||
const CircularProgressIndicatorM3E()
|
||||
|
||||
// Determinate
|
||||
const LinearProgressIndicatorM3E(value: 0.6)
|
||||
```
|
||||
|
||||
### Key parameters
|
||||
- value: double? — 0.0..1.0 for determinate; null for indeterminate.
|
||||
- semanticsLabel: String? — Describe progress for screen readers.
|
||||
- backgroundColor / color: Color? — Override token colors.
|
||||
|
||||
### Theming with m3e_design
|
||||
Colors, track heights, and indicator shapes are driven by M3E tokens.
|
||||
|
||||
### Accessibility
|
||||
- Always provide semanticsLabel when indeterminate; ensure sufficient contrast.
|
||||
|
||||
### Links
|
||||
- Repository: https://github.com/EmilyMoonstone/material_3_expressive/tree/main/packages/progress_indicator_m3e
|
||||
- Issue tracker: https://github.com/EmilyMonestone/material_3_expressive/issues
|
||||
- Changelog: ./CHANGELOG.md
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ dependencies:
|
|||
flutter:
|
||||
sdk: flutter
|
||||
m3e_design:
|
||||
path: ../m3e_design
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue