platform_list_tile 0.0.1 copy "platform_list_tile: ^0.0.1" to clipboard
platform_list_tile: ^0.0.1 copied to clipboard

A ListTile-Widget that renders a platform-specific ListTile.

50/ 160
pub points
1
downloads

We analyzed this package 9 hours ago, and awarded it 50 pub points (of a possible 160):

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

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

Failed to verify repository URL.

Could not find any pubspec.yaml in the repository.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: platform_list_tile,
    • contains a version property, and,
    • does not contain a publish_to property.

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

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

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

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

4 out of 57 API elements (7.0 %) 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: platform_list_tile, platform_list_tile.MaterialListTile.MaterialListTile.new, platform_list_tile.MaterialListTile.autofocus, platform_list_tile.MaterialListTile.contentPadding, platform_list_tile.MaterialListTile.dense.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:platform_list_tile/platform_list_tile.dart that imports:
  • dart:io
Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

ERROR: The name 'CupertinoListTile' is defined in the libraries 'package:cupertino_list_tile/src/list_tile.dart (via package:cupertino_list_tile/cupertino_list_tile.dart)' and 'package:flutter/src/cupertino/list_tile.dart (via package:flutter/cupertino.dart)'.

lib/platform_list_tile.dart:71:14

   ╷
71 │       return CupertinoListTile(
   │              ^^^^^^^^^^^^^^^^^
   ╵

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

ERROR: 'CupertinoListTile' isn't a function.

lib/platform_list_tile.dart:71:14

   ╷
71 │       return CupertinoListTile(
   │              ^^^^^^^^^^^^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
10 / 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
cupertino_list_tile ^0.2.0 0.2.1+1 0.2.1+1 Discontinued
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
cupertino_icons - 1.0.8 1.0.8
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.18.1
vector_math - 2.2.0 2.2.0

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

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • cupertino_list_tile.

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • AMBIGUOUS_IMPORT - lib/platform_list_tile.dart:71:14 - The name 'CupertinoListTile' is defined in the libraries 'package:cupertino_list_tile/src/list_tile.dart (via package:cupertino_list_tile/cupertino_list_tile.dart)' and 'package:flutter/src/cupertino/list_tile.dart (via package:flutter/cupertino.dart)'.
  • INVOCATION_OF_NON_FUNCTION - lib/platform_list_tile.dart:71:14 - 'CupertinoListTile' isn't a function.

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.8, Flutter 3.38.8, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
50
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

A ListTile-Widget that renders a platform-specific ListTile.

Documentation

API reference

License

unknown (license)

Dependencies

cupertino_list_tile, flutter

More

Packages that depend on platform_list_tile