dio_mock_interceptor 2.1.0 copy "dio_mock_interceptor: ^2.1.0" to clipboard
dio_mock_interceptor: ^2.1.0 copied to clipboard

This widget help you to mock backend responses in flutter project.

7
likes
140/ 160
pub points
68%
popularity

We analyzed this package 8 days ago, and awarded it 140 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

3 out of 6 API elements (50.0 %) have documentation comments.

Some symbols that are missing documentation: dio_mock_interceptor, dio_mock_interceptor.MockInterceptor, dio_mock_interceptor.MockInterceptor.MockInterceptor.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
OK
Pass static analysis
50 / 50trigger folding of the section

50/50 points: code has no errors, warnings, lints, or formatting issues

failed
Support up-to-date dependencies
20 / 40trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
dio ^5.0.0 5.5.0+1 5.5.0+1
flutter flutter 0.0.0 0.0.0
template_expressions ^3.1.5+4 3.2.0+9 3.2.0+9
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
asn1lib - 1.5.3 1.5.3
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.19.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
dio_web_adapter - 1.0.1 1.0.1
encrypt - 5.0.3 5.0.3
fake_async - 1.3.1 1.3.1
http_parser - 4.0.2 4.1.0
intl - 0.19.0 0.19.0
iregexp - 0.1.2 0.1.2
js - 0.7.1 0.7.1
json_class - 3.0.0+16 3.0.0+16
json_path - 0.7.2 0.7.2
logging - 1.2.0 1.2.0
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.8.0 0.12.0
maybe_just_nothing - 0.5.3 0.5.3
meta - 1.12.0 1.15.0
path - 1.9.0 1.9.0
petitparser - 6.0.2 6.0.2
pointycastle - 3.9.1 3.9.1
quiver - 3.2.1 3.2.1
rfc_6901 - 0.2.0 0.2.0
rxdart - 0.27.7 0.28.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.3.0 1.3.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.0 0.7.3
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
yaml - 3.1.2 3.1.2
yaon - 1.1.4+10 1.1.4+10

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • UNDEFINED_METHOD - lib/dio_mock_interceptor.dart:51:22 - The method 'DioException' isn't defined for the type 'MockInterceptor'.
  • UNDEFINED_METHOD - lib/dio_mock_interceptor.dart:59:22 - The method 'DioException' isn't defined for the type 'MockInterceptor'.

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.22.9, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.

7
likes
140
pub points
68%
popularity

Publisher

verified publisheryong-xin.tech

This widget help you to mock backend responses in flutter project.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, template_expressions

More

Packages that depend on dio_mock_interceptor