khalti_flutter 1.0.1
khalti_flutter: ^1.0.1 copied to clipboard
An official Flutter plugin for Khalti Payment Gateway, with all the necessary interface that make it easy to integrate with your app.
We analyzed this package 3 days ago, and awarded it 60 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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
109 out of 129 API elements (84.5 %) have documentation comments.
Some symbols that are missing documentation: khalti_flutter, khalti_localizations, messages_all, messages_all.LibraryLoader, messages_en.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 48 issues. Showing the first 2:
ERROR: The getter 'caption' isn't defined for the type 'TextTheme'.
lib/src/page/bank_payment_page.dart:76:56
╷
76 │ style: Theme.of(context).textTheme.caption,
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/page/bank_payment_page.dart
ERROR: The getter 'headline6' isn't defined for the type 'TextTheme'.
lib/src/page/bank_payment_page.dart:210:52
╷
210 │ final titleStyle = Theme.of(context).textTheme.headline6?.copyWith(
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/page/bank_payment_page.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_svg |
^0.23.0+1 |
0.23.0+1 | 2.2.4 | |
intl |
^0.17.0 |
0.17.0 | 0.20.2 | |
khalti |
^1.0.1 |
1.1.0 | 2.0.0 | |
url_launcher |
^6.0.12 |
6.3.2 | 6.3.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
device_info_plus |
- | 8.2.2 | 13.0.0 | |
device_info_plus_platform_interface |
- | 7.0.3 | 8.0.0 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 6.1.4 | 7.0.1 | |
http |
- | 0.13.6 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
khalti_core |
- | 1.1.1 | 1.1.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
package_info_plus |
- | 3.1.2 | 10.0.0 | |
package_info_plus_platform_interface |
- | 2.0.1 | 4.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_drawing |
- | 0.5.1+1 | 1.0.1 | |
path_parsing |
- | 0.2.1 | 1.1.0 | |
petitparser |
- | 5.4.0 | 7.0.2 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher_android |
- | 6.3.29 | 6.3.29 | |
url_launcher_ios |
- | 6.4.1 | 6.4.1 | |
url_launcher_linux |
- | 3.2.2 | 3.2.2 | |
url_launcher_macos |
- | 3.2.5 | 3.2.5 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.2 | 2.4.2 | |
url_launcher_windows |
- | 3.1.5 | 3.1.5 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 4.1.4 | 6.0.1 | |
xml |
- | 5.4.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^0.23.0+1` on flutter_svg does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions flutter_svg to update the constraint.
The constraint `^0.17.0` on intl does not support the stable version `0.18.0`.
Try running dart pub upgrade --major-versions intl to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 22 errors:
UNDEFINED_GETTER-lib/src/page/bank_payment_page.dart:76:56- The getter 'caption' isn't defined for the type 'TextTheme'.UNDEFINED_GETTER-lib/src/page/bank_payment_page.dart:210:52- The getter 'headline6' isn't defined for the type 'TextTheme'.UNDEFINED_GETTER-lib/src/page/confirmation_page.dart:55:54- The getter 'caption' isn't defined for the type 'TextTheme'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.12, Flutter 3.41.6, Dart 3.11.4.
Check the analysis log for details.