horizontal_date_range_picker 1.7.5
horizontal_date_range_picker: ^1.7.5 copied to clipboard
A horizontally-scrollable date picker widget with single date and date range selection modes.
We analyzed this package 19 hours ago, and awarded it 150 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://github.com/plug-and-pay/horizontal-date-range-picker was unreachable. Make sure that the website is reachable via HEAD requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
78 out of 78 API elements (100.0 %) have documentation comments.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/models/date_picker_style.dart:81:34
╷
81 │ /// Control opacity via [Color.withOpacity]. Defaults to
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/models/date_picker_style.dart
INFO: Statements in an if should be enclosed in a block.
lib/src/widgets/date_picker_navigator.dart:245:15
╷
245 │ ┌ return SizedBox(
246 │ │ height: totalContentHeight,
247 │ │ child: PageView.builder(
248 │ │ controller: _yearController!,
249 │ │ physics: const ClampingScrollPhysics(),
250 │ │ itemCount:
251 │ │ widget.maxDate.year - widget.minDate.year + 1,
252 │ │ onPageChanged: (page) => setState(() {
253 │ │ _displayedYear = widget.minDate.year + page;
254 │ │ }),
255 │ │ itemBuilder: (context, index) {
256 │ │ final year = widget.minDate.year + index;
│ └────────────^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/date_picker_navigator.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
intl |
^0.20.2 |
0.20.2 | 0.20.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
path |
- | 1.9.1 | 1.9.1 | |
vector_math |
- | 2.2.0 | 2.3.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.12, Flutter 3.41.9, Dart 3.11.5.
Check the analysis log for details.