flutter_themed 1.3.0
flutter_themed: ^1.3.0 copied to clipboard
Theme switching for Flutter apps. Supports light, dark, and custom themes with optional persistence.
We analyzed this package 2 days ago, and awarded it 150 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
51 out of 57 API elements (89.5 %) have documentation comments.
Some symbols that are missing documentation: flutter_themed, flutter_themed.ThemeStorageAdapter.ThemeStorageAdapter.new, flutter_themed.Themed.Themed.new, flutter_themed.Themed.themeNotifier, themed_app.
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: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.
lib/src/flutter_themed.dart:1:1
╷
1 │ ┌ import 'package:flutter/material.dart'
2 │ │ show
3 │ │ AppBarTheme,
4 │ │ BorderRadius,
5 │ │ BorderSide,
6 │ │ Brightness,
7 │ │ CardThemeData,
8 │ │ Color,
9 │ │ ColorScheme,
10 │ │ Colors,
11 │ │ ElevatedButton,
12 │ │ ElevatedButtonThemeData,
13 │ │ FloatingActionButtonThemeData,
14 │ │ FontWeight,
15 │ │ IconThemeData,
16 │ │ InkRipple,
17 │ │ InputDecorationTheme,
18 │ │ NoSplash,
19 │ │ OutlineInputBorder,
20 │ │ OutlinedButton,
21 │ │ OutlinedButtonThemeData,
│ └────────────────────────────^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/flutter_themed.dart
INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.
lib/src/themed_app.dart:1:1
╷
1 │ ┌ import 'package:flutter/material.dart'
2 │ │ show
3 │ │ BuildContext,
4 │ │ ColorScheme,
5 │ │ Locale,
6 │ │ LocalizationsDelegate,
7 │ │ MaterialApp,
8 │ │ NavigatorObserver,
9 │ │ RouteFactory,
10 │ │ RouteInformationParser,
11 │ │ RouteInformationProvider,
12 │ │ RouterConfig,
13 │ │ RouterDelegate,
14 │ │ StatelessWidget,
15 │ │ ThemeData,
16 │ │ TransitionBuilder,
17 │ │ ValueListenableBuilder,
18 │ │ Widget,
19 │ └ WidgetBuilder;
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/themed_app.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
listen |
- | 1.0.1 | 1.0.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
vector_math |
- | 2.4.4 | 2.4.4 |
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.19, Flutter 3.50.0, Dart 3.14.0.
Check the analysis log for details.