flutter_device_emulator 0.0.2 copy "flutter_device_emulator: ^0.0.2" to clipboard
flutter_device_emulator: ^0.0.2 copied to clipboard

Platformweb

Preview your Flutter widgets across multiple device screens in real-time. Supports iPhone, Pixel, tablet, and foldable layouts with toggles for dark/light themes, text directions (LTR/RTL), and orient [...]

115/ 160
pub points
49
downloads

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

Failed report section
Follow Dart file conventions
15 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.0.2").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

1 out of 8 API elements (12.5 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: flutter_device_emulator, flutter_device_emulator.DeviceEmulator, flutter_device_emulator.DeviceEmulator.DeviceEmulator.new, flutter_device_emulator.DeviceEmulator.builder, flutter_device_emulator.DeviceEmulator.enableLanguageToggle.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Web

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:flutter_device_emulator/flutter_device_emulator.dart that declares support for platforms: Web.
Package does not support platform `iOS`.

Because:

  • package:flutter_device_emulator/flutter_device_emulator.dart that declares support for platforms: Web.
Package does not support platform `Windows`.

Because:

  • package:flutter_device_emulator/flutter_device_emulator.dart that declares support for platforms: Web.
Package does not support platform `Linux`.

Because:

  • package:flutter_device_emulator/flutter_device_emulator.dart that declares support for platforms: Web.
Package does not support platform `macOS`.

Because:

  • package:flutter_device_emulator/flutter_device_emulator.dart that declares support for platforms: Web.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_device_emulator/flutter_device_emulator.dart that imports:
  • package:flutter_device_emulator/src/device_emulator.dart that imports:
  • dart:html

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: 'dart:html' is deprecated and shouldn't be used. Use package:web and dart:js_interop instead.

lib/src/device_emulator.dart:7:1

  ╷
7 │ import 'dart:html' as html;
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/device_emulator.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
device_frame ^1.4.0 1.4.0 1.4.0
screenshot ^1.3.0 1.3.0 3.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
freezed_annotation - 3.1.0 3.1.0
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
vector_math - 2.2.0 2.2.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^1.3.0` on screenshot does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions screenshot to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.23, Flutter 3.35.3, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
115
points
49
downloads

Publisher

verified publisherniksofts.com

Weekly Downloads

Preview your Flutter widgets across multiple device screens in real-time. Supports iPhone, Pixel, tablet, and foldable layouts with toggles for dark/light themes, text directions (LTR/RTL), and orientation (portrait/landscape). Ideal for building responsive and internationalized UIs quickly.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

device_frame, flutter, screenshot

More

Packages that depend on flutter_device_emulator